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

Fix test in minimize_nested_blockmodel_dl()

parent 44d44d06
......@@ -297,11 +297,11 @@ class NestedBlockState(object):
assert self.levels[j].B == self.levels[j+1].N, "inconsistency at level %d after %s of level %d, different sizes" % (j + 1, op, l)
# verify hierarchy / clabel consistency
clabel = self.__project_partition(0, j)
self.levels[0].clabel.fa = self.clabel.fa
assert self.levels[0]._BlockState__check_clabel(), "inconsistency at level %d after %s of level %d, clabel invalidated" % (j + 1, op, l)
self.levels[0].clabel.fa = 0
## verify hierarchy / clabel consistency
# clabel = self.__project_partition(0, j)
# self.levels[0].clabel.fa = self.clabel.fa
# assert self.levels[0]._BlockState__check_clabel(), "inconsistency at level %d after %s of level %d, clabel invalidated" % (j + 1, op, l)
# self.levels[0].clabel.fa = 0
# verify hierarchy consistency
clabel = self.__project_partition(j, j + 1)
......
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