Skip to content

Commit 04b531b

Browse files
authored
Merge pull request #42 from ste93ste/win_fix
fix windows integer cast
2 parents 1baf9c9 + 5b16207 commit 04b531b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

surfa/image/interp.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def interpolate(source, target_shape, method, affine=None, disp=None, fill=0):
8888
interp_func = globals().get(f'interp_3d_{order}_{method}')
8989

9090
# speeds up if conditionals are computed outside of function (TODO is this even true?)
91-
shape = np.asarray(target_shape).astype('int64')
91+
shape = np.asarray(target_shape).astype('int')
9292

9393
# ensure correct byteorder
9494
# TODO maybe this should be done at read-time?

0 commit comments

Comments
 (0)