Skip to content

Commit 16eb4f5

Browse files
committed
fix: incorrect operation
1 parent b2662f1 commit 16eb4f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nitransforms/patched.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def obliquity(affine):
2222
The *obliquity* of each axis with respect to the cardinal axes, in radians.
2323
"""
2424
vs = voxel_sizes(affine)
25-
best_cosines = np.abs((affine[:-1, :-1] / vs).max(axis=1))
25+
best_cosines = np.abs(affine[:-1, :-1] / vs).max(axis=1)
2626
return np.arccos(best_cosines)
2727

2828

0 commit comments

Comments
 (0)