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
9e83ef09
Commit
9e83ef09
authored
Jun 01, 2010
by
Peter Eastman
Browse files
Fixed compilation error under Linux
parent
274842f3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
platforms/cuda/tests/TestCudaMonteCarloBarostat.cpp
platforms/cuda/tests/TestCudaMonteCarloBarostat.cpp
+1
-1
platforms/opencl/tests/TestOpenCLMonteCarloBarostat.cpp
platforms/opencl/tests/TestOpenCLMonteCarloBarostat.cpp
+1
-1
No files found.
platforms/cuda/tests/TestCudaMonteCarloBarostat.cpp
View file @
9e83ef09
...
...
@@ -249,7 +249,7 @@ void testWater() {
}
volume
/=
steps
;
double
density
=
numMolecules
*
18
/
(
AVOGADRO
*
volume
*
1e-21
);
ASSERT_USUALLY_EQUAL_TOL
(
1
,
density
,
0.1
);
ASSERT_USUALLY_EQUAL_TOL
(
1
.0
,
density
,
0.1
);
}
int
main
()
{
...
...
platforms/opencl/tests/TestOpenCLMonteCarloBarostat.cpp
View file @
9e83ef09
...
...
@@ -249,7 +249,7 @@ void testWater() {
}
volume
/=
steps
;
double
density
=
numMolecules
*
18
/
(
AVOGADRO
*
volume
*
1e-21
);
ASSERT_USUALLY_EQUAL_TOL
(
1
,
density
,
0.1
);
ASSERT_USUALLY_EQUAL_TOL
(
1
.0
,
density
,
0.1
);
}
int
main
()
{
...
...
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