Skip to content

Commit fdd694b

Browse files
format
1 parent 36db954 commit fdd694b

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/default.jl

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,14 @@ function defaultalg(A, b::GPUArraysCore.AbstractGPUArray, ::OperatorAssumptions{
4646
end
4747
end
4848

49-
function defaultalg(A::SciMLBase.AbstractDiffEqOperator, b, assumptions::OperatorAssumptions)
49+
function defaultalg(A::SciMLBase.AbstractDiffEqOperator, b,
50+
assumptions::OperatorAssumptions)
5051
KrylovJL_GMRES()
5152
end
5253

5354
# Ambiguity handling
54-
function defaultalg(A::SciMLBase.AbstractDiffEqOperator, b, assumptions::OperatorAssumptions{nothing})
55+
function defaultalg(A::SciMLBase.AbstractDiffEqOperator, b,
56+
assumptions::OperatorAssumptions{nothing})
5557
KrylovJL_GMRES()
5658
end
5759

@@ -79,8 +81,6 @@ function defaultalg(A::GPUArraysCore.AbstractGPUArray, b::GPUArraysCore.Abstract
7981
QRFactorization()
8082
end
8183

82-
83-
8484
# Allows A === nothing as a stand-in for dense matrix
8585
function defaultalg(A, b, ::OperatorAssumptions{true})
8686
# Special case on Arrays: avoid BLAS for RecursiveFactorization.jl when
@@ -130,6 +130,7 @@ end
130130

131131
function init_cacheval(alg::Nothing, A, b, u, Pl, Pr, maxiters::Int, abstol, reltol,
132132
verbose::Bool, assumptions::OperatorAssumptions)
133-
init_cacheval(default_alg(A, b, assumptions), A, b, u, Pl, Pr, maxiters, abstol, reltol, verbose,
133+
init_cacheval(default_alg(A, b, assumptions), A, b, u, Pl, Pr, maxiters, abstol, reltol,
134+
verbose,
134135
assumptions)
135136
end

0 commit comments

Comments
 (0)