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
c461ff13
Commit
c461ff13
authored
Sep 28, 2015
by
Peter Eastman
Browse files
Fixed a failing test case under Visual Studio
parent
e91bbfd9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tests/TestLangevinIntegrator.h
tests/TestLangevinIntegrator.h
+2
-2
No files found.
tests/TestLangevinIntegrator.h
View file @
c461ff13
...
@@ -251,8 +251,8 @@ void testRandomSeed() {
...
@@ -251,8 +251,8 @@ void testRandomSeed() {
for
(
int
i
=
0
;
i
<
numParticles
;
i
++
)
{
for
(
int
i
=
0
;
i
<
numParticles
;
i
++
)
{
for
(
int
j
=
0
;
j
<
3
;
j
++
)
{
for
(
int
j
=
0
;
j
<
3
;
j
++
)
{
ASSERT
(
state1
.
getPositions
()[
i
][
j
]
==
state2
.
getPositions
()[
i
][
j
]);
ASSERT
_EQUAL_TOL
(
state1
.
getPositions
()[
i
][
j
]
,
state2
.
getPositions
()[
i
][
j
]
,
1e-6
);
ASSERT
(
state3
.
getPositions
()[
i
][
j
]
==
state4
.
getPositions
()[
i
][
j
]);
ASSERT
_EQUAL_TOL
(
state3
.
getPositions
()[
i
][
j
]
,
state4
.
getPositions
()[
i
][
j
]
,
1e-6
);
ASSERT
(
state1
.
getPositions
()[
i
][
j
]
!=
state3
.
getPositions
()[
i
][
j
]);
ASSERT
(
state1
.
getPositions
()[
i
][
j
]
!=
state3
.
getPositions
()[
i
][
j
]);
}
}
}
}
...
...
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