Commit fe4c71c3 authored by Martin Reinecke's avatar Martin Reinecke
Browse files

small fix (necessary because of increased paranoia)

parent e0d1dc5f
Pipeline #23255 passed with stage
in 4 minutes and 43 seconds
......@@ -295,7 +295,8 @@ class Field(object):
if dobj.distaxis(self._val) >= 0 and ind == 0:
# we need to distribute the weights along axis 0
wgt = dobj.local_data(dobj.from_global_data(wgt))
out *= wgt**power
lout = dobj.local_data(out.val)
lout *= wgt**power
fct = fct**power
if fct != 1.:
out *= fct
......
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