Skip to content

Commit

Permalink
Positional Argument withmomenta required for set_numpy_state
Browse files Browse the repository at this point in the history
  • Loading branch information
joramkuntze authored and axsk committed Aug 12, 2024
1 parent 0fcd77c commit c2ad7e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/simulators/mopenmm.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def trajectory(sim, x0, stepsize, steps, saveevery, mmthreads, withmomenta):

c = newcontext(sim.context, mmthreads)

set_numpy_state(c, x0)
set_numpy_state(c, x0, withmomenta)
c.getIntegrator().setStepSize(stepsize)

for n in range(1,n_states):
Expand Down

0 comments on commit c2ad7e7

Please sign in to comment.