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()
b2 = self.b.copy()
return (b == b2.a).all()
return (b == b2).all()
def __get_emat(self):
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