Skip to content

Commit 1a2f62d

Browse files
committed
clear formatting
1 parent 330616d commit 1a2f62d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/default.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ function SciMLBase.solve(cache::LinearCache, alg::DefaultLinSolve,
2222
@unpack A = cache
2323

2424
if alg.isset
25-
linalg = if A isa Matrix
25+
linalg =
26+
if A isa Matrix
2627
if ArrayInterface.can_setindex(x) && (size(A,1) <= 100 ||
2728
(p.openblas && size(A,1) <= 500)
2829
)
@@ -37,7 +38,7 @@ function SciMLBase.solve(cache::LinearCache, alg::DefaultLinSolve,
3738
elseif A isa SparseMatrixCSC
3839
LUFactorization()
3940
elseif ArrayInterface.isstructured(A)
40-
DefaultFactorization() # change fact_alg=LinearAlgebra.factorize
41+
DefaultFactorization()
4142
elseif !(A isa AbstractDiffEqOperator)
4243
QRFactorization()
4344
else

0 commit comments

Comments
 (0)