We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f3048c commit a51019aCopy full SHA for a51019a
nibabel/orientations.py
@@ -63,7 +63,7 @@ def io_orientation(affine, tol=None):
63
RS = RZS / zooms
64
# Transform below is polar decomposition, returning the closest
65
# shearless matrix R to RS
66
- P, S, Qs = npl.svd(RS)
+ P, S, Qs = npl.svd(RS, full_matrices=False)
67
# Threshold the singular values to determine the rank.
68
if tol is None:
69
tol = S.max() * max(RS.shape) * np.finfo(S.dtype).eps
0 commit comments