Skip to content

Commit 153895a

Browse files
author
Katharine Hyatt
committed
Fix gaugefix arguments
1 parent 564a788 commit 153895a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/implementations/svd.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ function svd_compact!(A::AbstractMatrix, USVᴴ, alg::LAPACK_SVDAlgorithm)
126126
throw(ArgumentError("Unsupported SVD algorithm"))
127127
end
128128
# TODO: make this controllable using a `gaugefix` keyword argument
129-
gaugefix!(Val(:compact), U, S, Vᴴ, m, n)
129+
gaugefix!(Val(:compact), U, S, Vᴴ, size(A)...)
130130
return USVᴴ
131131
end
132132

0 commit comments

Comments
 (0)