Skip to content

Commit d731448

Browse files
committed
And fix bad check in yacusolver
1 parent 90b5046 commit d731448

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎ext/MatrixAlgebraKitCUDAExt/yacusolver.jl‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ for (bname, fname, elty, relty) in
307307
throw(DimensionMismatch("invalid column size of U or row size of Vᴴ"))
308308
end
309309
end
310-
length(S) == minmn ||
310+
length(S) == minmn * batch_size ||
311311
throw(DimensionMismatch("length mismatch between A and S"))
312312

313313
Ṽ = (jobz == 'V') ? similar(Vᴴ') : similar(Vᴴ, (n, minmn))

0 commit comments

Comments
 (0)