From 28d5b798c548c769b146d220be5685e4e1bb4075 Mon Sep 17 00:00:00 2001 From: Will Kimmerer Date: Thu, 20 Oct 2022 14:05:19 -0400 Subject: [PATCH] fix bound --- src/factorization.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/factorization.jl b/src/factorization.jl index 08ef834ad..e32adeed6 100644 --- a/src/factorization.jl +++ b/src/factorization.jl @@ -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)),