Skip to content
Snippets Groups Projects
Commit a4ab1eed authored by Martin Reinecke's avatar Martin Reinecke
Browse files

fix data type

parent 550a546a
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment