Commit 203e5407 authored by Andy Simmonett's avatar Andy Simmonett
Browse files

Loosened tolerance for force checks slighly, for single precision CUDA test.

parent c08b19ee
......@@ -1208,8 +1208,10 @@ void testDMFDpmeEnergiesForcesWithExclusions() {
ASSERT_EQUAL_TOL(refenergy, energy, 1E-4);
for (int n = 0; n < numAtoms; ++n)
ASSERT_EQUAL_VEC(refforces[n], forces[n], 1E-4);
ASSERT_EQUAL_VEC(refforces[n], forces[n], 5E-4);
}
void testWater2DpmeEnergiesForcesWithExclusions() {
const double cutoff = 7.0*OpenMM::NmPerAngstrom;
const double alpha = 4.0124063605;
......
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