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

fix data type

parent 550a546a
Pipeline #20788 passed with stage
in 4 minutes and 10 seconds
......@@ -308,7 +308,7 @@ class Field(object):
if np.isscalar(wgt):
fct *= wgt
new_shape = dobj.ones(len(self.shape),
new_shape = np.ones(len(self.shape),
self.domain.axes[ind][-1]+1] = wgt.shape
wgt = wgt.reshape(new_shape)
Supports Markdown
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