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
59131379
Commit
59131379
authored
May 07, 2012
by
Peter Eastman
Browse files
Fixed an error in a test case
parent
c2e05fe8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
platforms/opencl/tests/TestOpenCLMultipleForces.cpp
platforms/opencl/tests/TestOpenCLMultipleForces.cpp
+1
-1
No files found.
platforms/opencl/tests/TestOpenCLMultipleForces.cpp
View file @
59131379
...
@@ -89,7 +89,7 @@ void testForces() {
...
@@ -89,7 +89,7 @@ void testForces() {
context1
.
setPositions
(
positions
);
context1
.
setPositions
(
positions
);
context2
.
setPositions
(
positions
);
context2
.
setPositions
(
positions
);
State
state1
=
context1
.
getState
(
State
::
Forces
|
State
::
Energy
);
State
state1
=
context1
.
getState
(
State
::
Forces
|
State
::
Energy
);
State
state2
=
context
1
.
getState
(
State
::
Forces
|
State
::
Energy
);
State
state2
=
context
2
.
getState
(
State
::
Forces
|
State
::
Energy
);
const
vector
<
Vec3
>&
forces1
=
state1
.
getForces
();
const
vector
<
Vec3
>&
forces1
=
state1
.
getForces
();
const
vector
<
Vec3
>&
forces2
=
state2
.
getForces
();
const
vector
<
Vec3
>&
forces2
=
state2
.
getForces
();
for
(
int
i
=
0
;
i
<
numParticles
;
i
++
)
for
(
int
i
=
0
;
i
<
numParticles
;
i
++
)
...
...
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