Commit 8ea751f3 authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

blockmodel: Fix segfault with edge prediction

This fixes issue #426
parent 95c33f1f
Pipeline #393 failed with stage
in 245 minutes and 24 seconds
......@@ -339,7 +339,6 @@ public:
if (n_mrs > 1)
{
if (Add && mrs < 2)
{
if (_B_E_D == 0 && this->_Lrecdx[0] >= 0)
......@@ -625,8 +624,8 @@ public:
typedef typename graph_traits<g_t>::edge_descriptor edges_t;
gt_hash_set<vertex_t> vset(vs.begin(), vs.end());
gt_hash_set<edges_t> eset;
for (auto v : vset)
{
for (auto e : all_edges_range(v, _g))
......@@ -670,8 +669,8 @@ public:
}
}
if (_mrs[me] == 0)
_emat.remove_me(me, _bg);
// if (_mrs[me] == 0)
// _emat.remove_me(me, _bg);
}
}
......
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