Commit b34559db authored by Philipp Arras's avatar Philipp Arras
Browse files

Add comment

parent 92b55b1b
Pipeline #75605 passed with stages
in 13 minutes and 16 seconds
......@@ -229,6 +229,9 @@ class MetricGaussianKL(Energy):
yield -s
def _sumup(self, obj):
# This is a deterministic implementation of MPI allreduce in the sense
# that it takes into account that floating point operations are not
# associative.
res = None
if self._comm is None:
for o in obj:
......
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