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

graph_blockmodel_util.hh: Improve checking

parent 859bf4aa
...@@ -1139,7 +1139,7 @@ public: ...@@ -1139,7 +1139,7 @@ public:
{ {
auto& rs = _entries[i]; auto& rs = _entries[i];
_mes.push_back(emat.get_me(rs.first, rs.second)); _mes.push_back(emat.get_me(rs.first, rs.second));
assert(_mes.back() != emat.get_null_edge() || get<0>(_delta[i]) > 0); assert(_mes.back() != emat.get_null_edge() || get<0>(_delta[i]) >= 0);
} }
return _mes; return _mes;
} }
......
Markdown is supported
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