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
78271a67
Commit
78271a67
authored
Apr 27, 2014
by
Sam Mikes
Browse files
Can't send bare stringstream to iostream; use .str()
parent
be0205e3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
libraries/validate/src/ValidateOpenMMForces.cpp
libraries/validate/src/ValidateOpenMMForces.cpp
+1
-1
No files found.
libraries/validate/src/ValidateOpenMMForces.cpp
View file @
78271a67
...
@@ -552,7 +552,7 @@ ForceValidationResult* ValidateOpenMMForces::compareForce(Context& context, std:
...
@@ -552,7 +552,7 @@ ForceValidationResult* ValidateOpenMMForces::compareForce(Context& context, std:
if
(
forceName
.
compare
(
"NA"
)
==
0
){
if
(
forceName
.
compare
(
"NA"
)
==
0
){
std
::
stringstream
message
;
std
::
stringstream
message
;
message
<<
"Force at index="
<<
ii
<<
" not found -- aborting!"
;
message
<<
"Force at index="
<<
ii
<<
" not found -- aborting!"
;
std
::
cerr
<<
message
<<
std
::
endl
;
std
::
cerr
<<
message
.
str
()
<<
std
::
endl
;
throw
OpenMM
::
OpenMMException
(
message
.
str
());
throw
OpenMM
::
OpenMMException
(
message
.
str
());
}
}
systemForceNameMap
[
forceName
]
=
ii
;
systemForceNameMap
[
forceName
]
=
ii
;
...
...
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