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

nested_blockmodel.py: Fix assertion error

parent 136db0e2
Pipeline #139 failed with stage
......@@ -310,7 +310,7 @@ class NestedBlockState(object):
min_state = mcmc_multilevel(max_state, B_min,
**mcmc_multilevel_args)
if _bm_test():
assert min_state.B == self.levels[l+1].B, (min_state.B,
assert min_state.B == self.levels[l+1].N, (min_state.B,
self.levels[l+1].N)
else:
min_state = state.copy(b=clabel.fa, clabel=clabel.fa)
......
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