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
f3437eec
Commit
f3437eec
authored
Jul 23, 2018
by
peastman
Browse files
Fixed bug in Python wrapper
parent
5387707d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
wrappers/python/src/swig_doxygen/swig_lib/python/extend.i
wrappers/python/src/swig_doxygen/swig_lib/python/extend.i
+2
-2
No files found.
wrappers/python/src/swig_doxygen/swig_lib/python/extend.i
View file @
f3437eec
...
@@ -49,7 +49,7 @@
...
@@ -49,7 +49,7 @@
((
1
<<
x
)
&
0xffffffff
for
x
in
groups
))
((
1
<<
x
)
&
0xffffffff
for
x
in
groups
))
else
:
else
:
raise
TypeError
(
'
%
s
is
neither
an
int
nor
set
'
%
groups
)
raise
TypeError
(
'
%
s
is
neither
an
int
nor
set
'
%
groups
)
if
groups_mask
>
0x80000000
:
if
groups_mask
>
=
0x80000000
:
groups_mask
-=
0x100000000
groups_mask
-=
0x100000000
types
=
0
types
=
0
if
getPositions
:
if
getPositions
:
...
@@ -160,7 +160,7 @@ Parameters:
...
@@ -160,7 +160,7 @@ Parameters:
((
1
<<
x
)
&
0xffffffff
for
x
in
groups
))
((
1
<<
x
)
&
0xffffffff
for
x
in
groups
))
else
:
else
:
raise
TypeError
(
'
%
s
is
neither
an
int
nor
set
'
%
groups
)
raise
TypeError
(
'
%
s
is
neither
an
int
nor
set
'
%
groups
)
if
groups_mask
>
0x80000000
:
if
groups_mask
>
=
0x80000000
:
groups_mask
-=
0x100000000
groups_mask
-=
0x100000000
types
=
0
types
=
0
if
getPositions
:
if
getPositions
:
...
...
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