Skip to content

Commit ad56100

Browse files
Remove check early error exit from the generic lu
1 parent 6f38f9e commit ad56100

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "LinearSolve"
22
uuid = "7ed4a6bd-45f5-4d41-b270-4a48e9bafcae"
33
authors = ["SciML"]
4-
version = "2.1.12"
4+
version = "2.1.13"
55

66
[deps]
77
ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"

src/factorization.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@ end
8484
function do_factorization(alg::LUFactorization, A, b, u)
8585
A = convert(AbstractMatrix, A)
8686
if A isa AbstractSparseMatrixCSC
87-
return lu(SparseMatrixCSC(size(A)..., getcolptr(A), rowvals(A), nonzeros(A)))
87+
return lu(SparseMatrixCSC(size(A)..., getcolptr(A), rowvals(A), nonzeros(A)), check=false)
8888
else
89-
fact = lu!(A, alg.pivot)
89+
fact = lu!(A, alg.pivot, check = false)
9090
end
9191
return fact
9292
end

0 commit comments

Comments
 (0)