"...platforms/reference/src/ReferenceDrudeKernelFactory.cpp" did not exist on "b002cf1f7fd5d879f73e0c02718c3c080d024e79"
Commit 73c4302d authored by peastman's avatar peastman Committed by GitHub
Browse files

Merge pull request #1578 from peastman/gaybernetest

Fixed a test that was failing on CPU OpenCL
parents e962bb4e 2c910db5
...@@ -78,7 +78,7 @@ void testPointParticles() { ...@@ -78,7 +78,7 @@ void testPointParticles() {
State state2 = context.getState(State::Forces | State::Energy, false, 2); State state2 = context.getState(State::Forces | State::Energy, false, 2);
ASSERT_EQUAL_TOL(state1.getPotentialEnergy(), state2.getPotentialEnergy(), 1e-5); ASSERT_EQUAL_TOL(state1.getPotentialEnergy(), state2.getPotentialEnergy(), 1e-5);
for (int i = 0; i < numParticles; i++) for (int i = 0; i < numParticles; i++)
ASSERT_EQUAL_VEC(state1.getForces()[i], state2.getForces()[i], 1e-5); ASSERT_EQUAL_VEC(state1.getForces()[i], state2.getForces()[i], 1e-4);
} }
void testEnergyScales() { void testEnergyScales() {
......
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