Skip to content

Commit

Permalink
Merge pull request #306 from SciML/ChrisRackauckas-patch-1
Browse files Browse the repository at this point in the history
Always pivot in RFLUFactorization
  • Loading branch information
ChrisRackauckas authored May 30, 2023
2 parents 82330ce + e6e2034 commit cb31d58
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/default.jl
Original file line number Diff line number Diff line change
Expand Up @@ -178,12 +178,7 @@ function defaultalg(A, b, assump::OperatorAssumptions{true})
elseif (length(b) <= 100 || (isopenblas() && length(b) <= 500)) &&
(A === nothing ? eltype(b) <: Union{Float32, Float64} :
eltype(A) <: Union{Float32, Float64})
pivot = if __conditioning(assump) === OperatorCondition.IllConditioned
Val(true)
else
Val(false)
end
alg = RFLUFactorization(; pivot = pivot)
alg = RFLUFactorization()
#elseif A === nothing || A isa Matrix
# alg = FastLUFactorization()
else
Expand Down

0 comments on commit cb31d58

Please sign in to comment.