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
b1d98917
Commit
b1d98917
authored
Nov 05, 2013
by
peastman
Browse files
Bug fix to benchmarking script
parent
be0b1ae3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/benchmark.py
examples/benchmark.py
+1
-1
No files found.
examples/benchmark.py
View file @
b1d98917
...
@@ -92,7 +92,7 @@ def runOneTest(testName, options):
...
@@ -92,7 +92,7 @@ def runOneTest(testName, options):
# Run the simulation.
# Run the simulation.
integ
=
mm
.
LangevinIntegrator
(
300
*
unit
.
kelvin
,
91
*
(
1
/
unit
.
picoseconds
),
dt
*
unit
.
femtoseconds
)
integ
=
mm
.
LangevinIntegrator
(
300
*
unit
.
kelvin
,
91
*
(
1
/
unit
.
picoseconds
),
dt
)
integ
.
setConstraintTolerance
(
1e-5
)
integ
.
setConstraintTolerance
(
1e-5
)
if
len
(
properties
)
>
0
:
if
len
(
properties
)
>
0
:
context
=
mm
.
Context
(
system
,
integ
,
platform
,
properties
)
context
=
mm
.
Context
(
system
,
integ
,
platform
,
properties
)
...
...
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