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