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
a6fd8742
Commit
a6fd8742
authored
Nov 28, 2016
by
Peter Eastman
Browse files
Fixed a bug in setting property by deprecated name
parent
9f717609
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
olla/src/Platform.cpp
olla/src/Platform.cpp
+1
-1
No files found.
olla/src/Platform.cpp
View file @
a6fd8742
...
...
@@ -104,7 +104,7 @@ void Platform::setPropertyDefaultValue(const string& property, const string& val
propertyName
=
deprecatedPropertyReplacements
.
find
(
property
)
->
second
;
for
(
int
i
=
0
;
i
<
(
int
)
platformProperties
.
size
();
i
++
)
if
(
platformProperties
[
i
]
==
propertyName
)
{
defaultProperties
[
property
]
=
value
;
defaultProperties
[
property
Name
]
=
value
;
return
;
}
throw
OpenMMException
(
"setPropertyDefaultValue: Illegal property name"
);
...
...
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