Commit 1b942062 authored by peastman's avatar peastman
Browse files

Merge pull request #232 from peastman/master

Fixed bug in pull request #227
parents d4387357 48498b10
...@@ -91,12 +91,12 @@ class BaseDimension(object): ...@@ -91,12 +91,12 @@ class BaseDimension(object):
return 'BaseDimension("%s")' % self.name return 'BaseDimension("%s")' % self.name
def __eq__(self, other): def __eq__(self, other):
if isInstance(other, BaseDimension): if isinstance(other, BaseDimension):
return self._index == other._index return self._index == other._index
return False return False
def __ne__(self, other): def __ne__(self, other):
if isInstance(other, BaseDimension): if isinstance(other, BaseDimension):
return self._index != other._index return self._index != other._index
return False return False
......
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