Skip to content

Commit a4f1655

Browse files
oestebanmgxd
andauthored
Update nitransforms/nonlinear.py
Co-Authored-By: Mathias Goncalves <[email protected]>
1 parent ea8cda9 commit a4f1655

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nitransforms/nonlinear.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def map(self, x, inverse=False, index=0):
8989
if np.any(np.abs(ijk - indexes) > 0.05):
9090
print('Some coordinates are off-grid of the displacements field.',
9191
file=sys.stderr)
92-
indexes = tuple([tuple(i) for i in indexes.T])
92+
indexes = tuple(tuple(i) for i in indexes.T)
9393
return x + self._field[indexes]
9494

9595

0 commit comments

Comments
 (0)