diff --git a/Project.toml b/Project.toml index 18df5aba1..56745c0b7 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "LinearSolve" uuid = "7ed4a6bd-45f5-4d41-b270-4a48e9bafcae" authors = ["SciML"] -version = "1.39.0" +version = "1.40.0" [deps] ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9" diff --git a/ext/LinearSolveHYPRE.jl b/ext/LinearSolveHYPRE.jl index b61483e3f..f8f9fc4e8 100644 --- a/ext/LinearSolveHYPRE.jl +++ b/ext/LinearSolveHYPRE.jl @@ -203,7 +203,8 @@ function SciMLBase.solve(cache::LinearCache, alg::HYPREAlgorithm, args...; kwarg stats = nothing ret = SciMLBase.LinearSolution{T, N, typeof(cache.u), typeof(resid), typeof(alg), - typeof(cache), typeof(stats)}(cache.u, resid, alg, retc, iters, cache, stats) + typeof(cache), typeof(stats)}(cache.u, resid, alg, retc, + iters, cache, stats) return ret end diff --git a/src/factorization.jl b/src/factorization.jl index 0f8b06209..094f563a9 100644 --- a/src/factorization.jl +++ b/src/factorization.jl @@ -100,8 +100,8 @@ function do_factorization(alg::QRFactorization, A, b, u) end function init_cacheval(alg::QRFactorization, A, b, u, Pl, Pr, - maxiters::Int, abstol, reltol, verbose::Bool, - assumptions::OperatorAssumptions) + maxiters::Int, abstol, reltol, verbose::Bool, + assumptions::OperatorAssumptions) ArrayInterface.qr_instance(convert(AbstractMatrix, A)) end @@ -121,8 +121,8 @@ function do_factorization(alg::SVDFactorization, A, b, u) end function init_cacheval(alg::SVDFactorization, A, b, u, Pl, Pr, - maxiters::Int, abstol, reltol, verbose::Bool, - assumptions::OperatorAssumptions) + maxiters::Int, abstol, reltol, verbose::Bool, + assumptions::OperatorAssumptions) ArrayInterface.svd_instance(convert(AbstractMatrix, A)) end @@ -266,7 +266,8 @@ function init_cacheval(alg::GenericFactorization{typeof(svd!)}, A::Diagonal, b, assumptions::OperatorAssumptions) Diagonal(inv.(A.diag)) end -function init_cacheval(alg::GenericFactorization{typeof(svd!)}, A::Tridiagonal, b, u, Pl, Pr, +function init_cacheval(alg::GenericFactorization{typeof(svd!)}, A::Tridiagonal, b, u, Pl, + Pr, maxiters::Int, abstol, reltol, verbose::Bool, assumptions::OperatorAssumptions) ArrayInterface.svd_instance(A)