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
35b7189c
"docs-source/usersguide/vscode:/vscode.git/clone" did not exist on "939e0af545bbcb0ea23c790ab846ddab2323516e"
Commit
35b7189c
authored
Jun 24, 2019
by
Peter Eastman
Browse files
Fixed error applying parameter offsets with CPU platform
parent
d5905f89
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
platforms/cpu/src/CpuKernels.cpp
platforms/cpu/src/CpuKernels.cpp
+2
-2
No files found.
platforms/cpu/src/CpuKernels.cpp
View file @
35b7189c
...
...
@@ -722,8 +722,6 @@ void CpuCalcNonbondedForceKernel::copyParametersToContext(ContextImpl& context,
// Record the values.
chargePosqIndex
=
data
.
requestPosqIndex
();
ljPosqIndex
=
data
.
requestPosqIndex
();
for
(
int
i
=
0
;
i
<
numParticles
;
++
i
)
force
.
getParticleParameters
(
i
,
baseParticleParams
[
i
][
0
],
baseParticleParams
[
i
][
1
],
baseParticleParams
[
i
][
2
]);
for
(
int
i
=
0
;
i
<
num14
;
++
i
)
{
...
...
@@ -806,6 +804,8 @@ void CpuCalcNonbondedForceKernel::computeParameters(ContextImpl& context, bool o
}
else
ewaldSelfEnergy
=
0.0
;
chargePosqIndex
=
data
.
requestPosqIndex
();
ljPosqIndex
=
data
.
requestPosqIndex
();
}
// Compute exception parameters.
...
...
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