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
b9a19a0c
Commit
b9a19a0c
authored
Dec 06, 2014
by
Jason Swails
Browse files
Fix small bug in unit related to mutable sequences.
parent
e6d78cfe
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
wrappers/python/simtk/unit/quantity.py
wrappers/python/simtk/unit/quantity.py
+1
-1
No files found.
wrappers/python/simtk/unit/quantity.py
View file @
b9a19a0c
...
...
@@ -356,7 +356,7 @@ class Quantity(object):
if
unit
.
is_dimensionless
():
assert
unit
is
dimensionless
# should have been set earlier in this method
if
is_quantity
(
result
):
result
=
result
.
_value
result
=
copy
.
deepcopy
(
result
.
_value
)
return
result
def
__mul__
(
self
,
other
):
...
...
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