Skip to content

Commit ace17c7

Browse files
Update LinearSolveCUDAExt.jl
1 parent e972624 commit ace17c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/LinearSolveCUDAExt.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function LinearSolve.defaultalg(A::CUDA.CUSPARSE.CuSparseMatrixCSR{Tv, Ti}, b,
2626
end
2727

2828
function LinearSolve.error_no_cudss_lu(A::CUDA.CUSPARSE.CuSparseMatrixCSR)
29-
if !LinearSolve.cudss_loaded[]
29+
if !LinearSolve.cudss_loaded(A)
3030
error("CUDSS.jl is required for LU Factorizations on CuSparseMatrixCSR. Please load this library.")
3131
end
3232
nothing

0 commit comments

Comments
 (0)