Skip to content

Commit 3629dfe

Browse files
amontoisonmaleadt
authored andcommitted
Fix gesvd
1 parent 79fffe4 commit 3629dfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/cusolver/dense_generic.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ function Xgesvd!(jobu::Char, jobvt::Char, A::StridedCuMatrix{T}) where {T <: Bla
227227
CuMatrix{T}(undef, m, m)
228228
elseif jobu == 'S'
229229
CuMatrix{T}(undef, m, k)
230-
elseif jobu == 'N' || jobvt == 'O'
230+
elseif jobu == 'N' || jobu == 'O'
231231
CU_NULL
232232
else
233233
throw(ArgumentError("jobu is incorrect. The values accepted are 'A', 'S', 'O' and 'N'."))

0 commit comments

Comments
 (0)