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

overlap_blockmodel.py: Fix bug with edge covariates

parent 127dc08e
......@@ -338,8 +338,7 @@ class OverlapBlockState(BlockState):
recs=kwargs.pop("recs",
ungroup_vector_property(bg.ep.rec,
range(len(self.rec_types)))
if (vweight is not None and
len(self.rec_types) > 0)
if (vweight and len(self.rec_types) > 0)
else []),
drec=kwargs.pop("drec",
bg.ep.drec if (vweight is not None and
......
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