Skip to content

Commit 59a76d5

Browse files
committed
divide not modulo
1 parent 779a6c2 commit 59a76d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

openfe/setup/methods/openmm/equil_rbfe_methods.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -877,13 +877,13 @@ def get_center_offset(omm_system):
877877
if verbose:
878878
logger.info("equilibrating systems")
879879

880-
sampler.equilibrate(int(equil_steps.m % mc_steps)) # type: ignore
880+
sampler.equilibrate(int(equil_steps.m / mc_steps)) # type: ignore
881881

882882
# production
883883
if verbose:
884884
logger.info("running production phase")
885885

886-
sampler.extend(int(equil_steps.m % mc_steps)) # type: ignore
886+
sampler.extend(int(equil_steps.m / mc_steps)) # type: ignore
887887

888888
return True
889889
else:

0 commit comments

Comments
 (0)