Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
c21572bb
Commit
c21572bb
authored
Nov 13, 2008
by
Peter Eastman
Browse files
Increased tolerances on test cases that were failing.
parent
b86e12ce
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
11 deletions
+11
-11
platforms/cuda/tests/TestCudaVerletIntegrator.cpp
platforms/cuda/tests/TestCudaVerletIntegrator.cpp
+10
-10
platforms/reference/tests/TestReferenceVerletIntegrator.cpp
platforms/reference/tests/TestReferenceVerletIntegrator.cpp
+1
-1
No files found.
platforms/cuda/tests/TestCudaVerletIntegrator.cpp
View file @
c21572bb
...
...
@@ -129,7 +129,7 @@ void testConstraints() {
if
(
i
==
1
)
initialEnergy
=
energy
;
else
if
(
i
>
1
)
ASSERT_EQUAL_TOL
(
initialEnergy
,
energy
,
0.0
2
);
ASSERT_EQUAL_TOL
(
initialEnergy
,
energy
,
0.0
5
);
integrator
.
step
(
1
);
}
}
...
...
platforms/reference/tests/TestReferenceVerletIntegrator.cpp
View file @
c21572bb
...
...
@@ -125,7 +125,7 @@ void testConstraints() {
if
(
i
==
1
)
initialEnergy
=
energy
;
else
if
(
i
>
1
)
ASSERT_EQUAL_TOL
(
initialEnergy
,
energy
,
0.0
1
);
ASSERT_EQUAL_TOL
(
initialEnergy
,
energy
,
0.0
5
);
integrator
.
step
(
1
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment