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

blockmodel: fix nested sampling of filtered graphs

This fixes issue #322
parent 62055e30
Pipeline #210 failed with stage
in 4416 minutes and 31 seconds
......@@ -511,6 +511,8 @@ class BlockState(object):
else:
bg = self.bg
eweight = self.mrs
if self.g.get_vertex_filter()[0] is not None:
bg = GraphView(bg, vfilt=numpy.ones(bg.num_vertices()))
if vweight == "nonempty":
vweight = bg.new_vp("int", self.wr.a > 0)
elif vweight == "unity":
......
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