Skip to content

Commit

Permalink
format and release
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas committed Mar 24, 2023
1 parent 6a4fb34 commit c83bf11
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
3 changes: 2 additions & 1 deletion ext/LinearSolveHYPRE.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
11 changes: 6 additions & 5 deletions src/factorization.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit c83bf11

Please sign in to comment.