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
else:
new_shape = dobj.ones(len(self.shape), dtype=np.int)
new_shape = np.ones(len(self.shape), dtype=np.int)
new_shape[self.domain.axes[ind][0]:
self.domain.axes[ind][-1]+1] = wgt.shape
wgt = wgt.reshape(new_shape)
......
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