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

blockmodel: fix add/remove edge

parent 37e1083e
......@@ -709,6 +709,9 @@ public:
else
_coupled_state->remove_edge(r, s, me, dw);
}
if (!_egroups.empty())
_egroups.clear();
}
template <bool Add, bool Deplete>
......@@ -774,7 +777,7 @@ public:
get<1>(_degs[v]) -= dw;
}
_E--;
_E -= dw;
}
}
......
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