Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
48498b10
Commit
48498b10
authored
Dec 09, 2013
by
peastman
Browse files
Fixed bug in pull request #227
parent
d4387357
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
wrappers/python/simtk/unit/basedimension.py
wrappers/python/simtk/unit/basedimension.py
+2
-2
No files found.
wrappers/python/simtk/unit/basedimension.py
View file @
48498b10
...
...
@@ -91,12 +91,12 @@ class BaseDimension(object):
return
'BaseDimension("%s")'
%
self
.
name
def
__eq__
(
self
,
other
):
if
is
I
nstance
(
other
,
BaseDimension
):
if
is
i
nstance
(
other
,
BaseDimension
):
return
self
.
_index
==
other
.
_index
return
False
def
__ne__
(
self
,
other
):
if
is
I
nstance
(
other
,
BaseDimension
):
if
is
i
nstance
(
other
,
BaseDimension
):
return
self
.
_index
!=
other
.
_index
return
False
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment