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 7f09c66 commit c2ecdf5Copy full SHA for c2ecdf5
ext/MatrixAlgebraKitCUDAExt/yacusolver.jl
@@ -260,7 +260,6 @@ function Xgesvdr!(A::StridedCuMatrix{T},
260
minmn = min(m, n)
261
jobu = length(U) == 0 ? 'N' : 'S'
262
jobv = length(Vᴴ) == 0 ? 'N' : 'S'
263
- k = min(size(S)...)
264
R = eltype(S)
265
k < minmn || throw(DimensionMismatch("length of S ($k) must be less than the smaller dimension of A ($minmn)"))
266
k + p < minmn || throw(DimensionMismatch("length of S ($k) plus oversampling ($p) must be less than the smaller dimension of A ($minmn)"))
0 commit comments