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
a3f22ab9
"plugins/normalModeLangevin/vscode:/vscode.git/clone" did not exist on "732eaf772020b3233b8b683dfbad7d9b644ca1df"
Commit
a3f22ab9
authored
Sep 22, 2016
by
Peter Eastman
Browse files
Fixed incorrect bound
parent
f75c5ee6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
platforms/cpu/src/CpuGBSAOBCForce.cpp
platforms/cpu/src/CpuGBSAOBCForce.cpp
+1
-1
No files found.
platforms/cpu/src/CpuGBSAOBCForce.cpp
View file @
a3f22ab9
...
@@ -88,7 +88,7 @@ void CpuGBSAOBCForce::setParticleParameters(const std::vector<std::pair<float, f
...
@@ -88,7 +88,7 @@ void CpuGBSAOBCForce::setParticleParameters(const std::vector<std::pair<float, f
particleParams
=
params
;
particleParams
=
params
;
bornRadii
.
resize
(
params
.
size
()
+
3
);
bornRadii
.
resize
(
params
.
size
()
+
3
);
obcChain
.
resize
(
params
.
size
()
+
3
);
obcChain
.
resize
(
params
.
size
()
+
3
);
for
(
int
i
=
bornRadii
.
size
()
-
3
;
i
<
bornRadii
.
size
()
-
1
;
i
++
)
{
for
(
int
i
=
bornRadii
.
size
()
-
3
;
i
<
bornRadii
.
size
();
i
++
)
{
bornRadii
[
i
]
=
0
;
bornRadii
[
i
]
=
0
;
obcChain
[
i
]
=
0
;
obcChain
[
i
]
=
0
;
}
}
...
...
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