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
dbb4827e
Unverified
Commit
dbb4827e
authored
Jul 28, 2021
by
Peter Eastman
Committed by
GitHub
Jul 28, 2021
Browse files
Fixed error in metadynamics when using multiple processes (#3193)
parent
62002c50
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
wrappers/python/openmm/app/metadynamics.py
wrappers/python/openmm/app/metadynamics.py
+1
-1
No files found.
wrappers/python/openmm/app/metadynamics.py
View file @
dbb4827e
...
@@ -264,7 +264,7 @@ class Metadynamics(object):
...
@@ -264,7 +264,7 @@ class Metadynamics(object):
# If we loaded any files, recompute the total bias from all processes.
# If we loaded any files, recompute the total bias from all processes.
if
fileLoaded
:
if
fileLoaded
:
self
.
_totalBias
=
self
.
_selfBias
self
.
_totalBias
=
np
.
copy
(
self
.
_selfBias
)
for
bias
in
self
.
_loadedBiases
.
values
():
for
bias
in
self
.
_loadedBiases
.
values
():
self
.
_totalBias
+=
bias
.
bias
self
.
_totalBias
+=
bias
.
bias
...
...
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