@@ -15,7 +15,7 @@ function defaultalg(A, b)
15
15
if length (b) <= 10
16
16
alg = GenericLUFactorization ()
17
17
elseif (length (b) <= 100 || (isopenblas () && length (b) <= 500 )) &&
18
- eltype (A) <: Union{Float32, Float64} && Base. Threads. nthreads () > 1
18
+ eltype (A) <: Union{Float32, Float64} && Base. Threads. nthreads () > 1
19
19
alg = RFLUFactorization ()
20
20
elseif A === nothing || A isa Matrix
21
21
alg = FastLUFactorization ()
@@ -72,7 +72,7 @@ function SciMLBase.solve(cache::LinearCache, alg::Nothing,
72
72
alg = GenericLUFactorization ()
73
73
SciMLBase. solve (cache, alg, args... ; kwargs... )
74
74
elseif (length (b) <= 100 || (isopenblas () && length (b) <= 500 )) &&
75
- eltype (A) <: Union{Float32, Float64} && Base. Threads. nthreads () > 1
75
+ eltype (A) <: Union{Float32, Float64} && Base. Threads. nthreads () > 1
76
76
alg = RFLUFactorization ()
77
77
SciMLBase. solve (cache, alg, args... ; kwargs... )
78
78
elseif A isa Matrix
@@ -134,7 +134,7 @@ function init_cacheval(alg::Nothing, A, b, u, Pl, Pr, maxiters, abstol, reltol,
134
134
alg = GenericLUFactorization ()
135
135
init_cacheval (alg, A, b, u, Pl, Pr, maxiters, abstol, reltol, verbose)
136
136
elseif (length (b) <= 100 || (isopenblas () && length (b) <= 500 )) &&
137
- eltype (A) <: Union{Float32, Float64} && Base. Threads. nthreads () > 1
137
+ eltype (A) <: Union{Float32, Float64} && Base. Threads. nthreads () > 1
138
138
alg = RFLUFactorization ()
139
139
init_cacheval (alg, A, b, u, Pl, Pr, maxiters, abstol, reltol, verbose)
140
140
elseif A isa Matrix
0 commit comments