"vscode:/vscode.git/clone" did not exist on "e735f14bacc7bb30f9df86eeeec032cfff15de2e"
Unverified Commit dbb4827e authored by Peter Eastman's avatar Peter Eastman Committed by GitHub
Browse files

Fixed error in metadynamics when using multiple processes (#3193)

parent 62002c50
......@@ -264,7 +264,7 @@ class Metadynamics(object):
# If we loaded any files, recompute the total bias from all processes.
if fileLoaded:
self._totalBias = self._selfBias
self._totalBias = np.copy(self._selfBias)
for bias in self._loadedBiases.values():
self._totalBias += bias.bias
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment