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

Fix BlockState.__check_clabel() for filtered graphs

parent ac0c1325
......@@ -316,11 +316,11 @@ class BlockState(object):
return bclabel
def __check_clabel(self):
b = self.b.a + self.clabel.a * self.B
b = self.b.fa + self.clabel.fa * self.B
b2 = self.b.fa.copy()
continuous_map(b)
b2 = self.b.copy()
continuous_map(b2.a)
return (b == b2.a).all()
continuous_map(b2)
return (b == b2).all()
def __get_emat(self):
if self.emat is None:
......
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