"plugins/vscode:/vscode.git/clone" did not exist on "07f6ba41fff74c5181bd086d937e6d4a0ba1c0c4"
Commit 59131379 authored by Peter Eastman's avatar Peter Eastman
Browse files

Fixed an error in a test case

parent c2e05fe8
......@@ -89,7 +89,7 @@ void testForces() {
context1.setPositions(positions);
context2.setPositions(positions);
State state1 = context1.getState(State::Forces | State::Energy);
State state2 = context1.getState(State::Forces | State::Energy);
State state2 = context2.getState(State::Forces | State::Energy);
const vector<Vec3>& forces1 = state1.getForces();
const vector<Vec3>& forces2 = state2.getForces();
for (int i = 0; i < numParticles; i++)
......
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