Skip to content

Commit 6d9da6f

Browse files
committed
DArray: Fix Cholesky error path for GPU
1 parent 3ee4091 commit 6d9da6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/array/cholesky.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ LinearAlgebra.cholcopy(A::DArray{T,2}) where T = copy(A)
22
function potrf_checked!(uplo, A, info_arr)
33
_A, info = move(thunk_processor(), LAPACK.potrf!)(uplo, A)
44
if info != 0
5-
info_arr[1] = info
5+
fill!(info_arr, info)
66
throw(PosDefException(info))
77
end
88
return _A, info

0 commit comments

Comments
 (0)