diff --git a/tests/test_deform_grid.py b/tests/test_deform_grid.py index 941a4d1..fd448f2 100644 --- a/tests/test_deform_grid.py +++ b/tests/test_deform_grid.py @@ -56,6 +56,7 @@ def deform_grid_py(X, displacement, order=3, mode='constant', cval=0.0, crop=Non crop = (slice(None),) * X.ndim # add the displacement to the coordinates + coordinates = list(coordinates) for i in range(len(axis)): yd = scipy.ndimage.map_coordinates(displacement[i], xi, order=3) # adding the displacement