"plugins/amoeba/serialization/vscode:/vscode.git/clone" did not exist on "b54f589b274d005ba483a298942df360d50e3f8c"
Commit 591c5f92 authored by Peter Eastman's avatar Peter Eastman
Browse files

Fixed bug in testInstallation script

parent 7dfc3aea
......@@ -26,7 +26,7 @@ for i in range(numPlatforms):
platform = Platform.getPlatform(i)
print i, platform.getName(),
integrator = LangevinIntegrator(300*kelvin, 1/picosecond, 0.002*picoseconds)
simulation = Simulation(pdb.topology, system, integrator)
simulation = Simulation(pdb.topology, system, integrator, platform)
simulation.context.setPositions(pdb.positions)
try:
forces[i] = simulation.context.getState(getForces=True).getForces()
......
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