Commit cbf8c367 authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

blockmodel: edge list test fix

parent e43b957a
......@@ -111,13 +111,14 @@ public:
void check([[maybe_unused]] BGraph& bg, [[maybe_unused]] Eprop& mrs)
#ifndef NDEBUG
if (empty() || true)
if (empty())
for (auto e : edges_range(bg))
auto r = source(e, bg);
auto s = target(e, bg);
assert(r < _pos.size());
auto& pos = _pos[r];
auto iter = pos.find(s);
assert(iter != pos.end());
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment