Commit 96dd3eb2 authored by Anton Akhmerov's avatar Anton Akhmerov
Browse files

fix lattice inequality checking

parent 566ed10f
......@@ -124,7 +124,7 @@ class SiteFamily(object):
except AttributeError:
return False
def __neq__(self, other):
def __ne__(self, other):
try:
return self.canonical_repr != other.canonical_repr
except AttributeError:
......
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