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
ed049af1
"platforms/cuda/src/CudaExpressionUtilities.cpp" did not exist on "3f11ad2c8c3904b35660c24698137120109572f1"
Unverified
Commit
ed049af1
authored
May 04, 2023
by
Peter Eastman
Committed by
GitHub
May 04, 2023
Browse files
Fixed an incorrectly sized array (#4061)
parent
7af565ed
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
platforms/reference/src/SimTKReference/ReferenceCustomCVForce.cpp
...s/reference/src/SimTKReference/ReferenceCustomCVForce.cpp
+1
-1
No files found.
platforms/reference/src/SimTKReference/ReferenceCustomCVForce.cpp
View file @
ed049af1
...
...
@@ -86,7 +86,7 @@ ReferenceCustomCVForce::ReferenceCustomCVForce(const CustomCVForce& force) {
paramDerivExpressions
.
clear
();
for
(
auto
&
name
:
paramDerivNames
)
paramDerivExpressions
.
push_back
(
energyExpr
.
differentiate
(
name
).
createCompiledExpression
());
globalValues
.
resize
(
variable
Names
.
size
());
globalValues
.
resize
(
globalParameter
Names
.
size
());
cvValues
.
resize
(
numCVs
);
map
<
string
,
double
*>
variableLocations
;
for
(
int
i
=
0
;
i
<
globalParameterNames
.
size
();
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