Skip to content

Commit

Permalink
fix bound
Browse files Browse the repository at this point in the history
  • Loading branch information
rayegun committed Oct 20, 2022
1 parent 5075ce9 commit 28d5b79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/factorization.jl
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ function init_cacheval(alg::UMFPACKFactorization, A, b, u, Pl, Pr, maxiters::Int
verbose::Bool, assumptions::OperatorAssumptions)
A = convert(AbstractMatrix, A)
zerobased = SparseArrays.getcolptr(A)[1] == 0
@static if VERSION < v"1.9"
@static if VERSION < v"1.9.0-DEV.1622"
return SuiteSparse.UMFPACK.UmfpackLU(C_NULL, C_NULL, size(A, 1), size(A, 2),
zerobased ? copy(SparseArrays.getcolptr(A)) :
SuiteSparse.decrement(SparseArrays.getcolptr(A)),
Expand Down

0 comments on commit 28d5b79

Please sign in to comment.