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
e09b1088
"platforms/cpu/tests/TestCpuGBSAOBCForce.cpp" did not exist on "7d4b549df7b7f7a2c6cc09c7a9b370726b017ae6"
Commit
e09b1088
authored
Jun 11, 2012
by
Peter Eastman
Browse files
Fixed error when multiple CustomCompoundBondForces are added to a system
parent
00c4b747
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
platforms/opencl/src/OpenCLBondedUtilities.cpp
platforms/opencl/src/OpenCLBondedUtilities.cpp
+4
-1
No files found.
platforms/opencl/src/OpenCLBondedUtilities.cpp
View file @
e09b1088
...
...
@@ -6,7 +6,7 @@
* Biological Structures at Stanford, funded under the NIH Roadmap for *
* Medical Research, grant U54 GM072970. See https://simtk.org. *
* *
* Portions copyright (c) 2011 Stanford University and the Authors.
*
* Portions copyright (c) 2011
-2012
Stanford University and the Authors. *
* Authors: Peter Eastman *
* Contributors: *
* *
...
...
@@ -62,6 +62,9 @@ std::string OpenCLBondedUtilities::addArgument(cl::Memory& data, const string& t
}
void
OpenCLBondedUtilities
::
addPrefixCode
(
const
string
&
source
)
{
for
(
int
i
=
0
;
i
<
(
int
)
prefixCode
.
size
();
i
++
)
if
(
prefixCode
[
i
]
==
source
)
return
;
prefixCode
.
push_back
(
source
);
}
...
...
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