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
af2b6da0
"examples/benchmark/benchmark.py" did not exist on "6a82ea51f237e61c1c2b3eaff2ade0f8cd32a49b"
Commit
af2b6da0
authored
Mar 27, 2014
by
Robert McGibbon
Browse files
Update ContextImpl.cpp
parent
1bf7f75f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
openmmapi/src/ContextImpl.cpp
openmmapi/src/ContextImpl.cpp
+1
-1
No files found.
openmmapi/src/ContextImpl.cpp
View file @
af2b6da0
...
...
@@ -418,7 +418,7 @@ void ContextImpl::createCheckpoint(ostream& stream) {
void
ContextImpl
::
loadCheckpoint
(
istream
&
stream
)
{
char
magicbytes
[
4
];
stream
.
read
(
magicbytes
,
4
);
if
(
memcmp
(
magicbytes
,
&
CHECKPOINT_MAGIC_BYTES
[
0
]
,
4
*
sizeof
(
char
))
!=
0
)
if
(
memcmp
(
magicbytes
,
CHECKPOINT_MAGIC_BYTES
,
4
*
sizeof
(
char
))
!=
0
)
throw
OpenMMException
(
"loadCheckpoint: Checkpoint header was not correct"
);
string
platformName
=
readString
(
stream
);
...
...
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