Unverified Commit c47fc7ce authored by Peter Eastman's avatar Peter Eastman Committed by GitHub
Browse files

Prevent intermittent failures in a test case (#3622)

parent 7af08783
......@@ -92,7 +92,7 @@ class TestSimulatedTempering(unittest.TestCase):
# Let the simulation run and assert at every step T(mcbarostat) == T(integrator) == T(tempering)
for i in range(1000):
for i in range(100):
st.step(2)
self.assertEqual(st.temperatures[st.currentTemperature], integrator.getTemperature())
self.assertEqual(st.temperatures[st.currentTemperature], simulation.context.getParameter('MonteCarloTemperature')*kelvin)
......
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