Skip to content

Commit

Permalink
HOTFIX: Don't use MKL with numbers other that Float64
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas authored Oct 6, 2023
1 parent a3d8398 commit 920fade
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/default.jl
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ function defaultalg(A, b, assump::OperatorAssumptions)
DefaultAlgorithmChoice.RFLUFactorization
#elseif A === nothing || A isa Matrix
# alg = FastLUFactorization()
elseif usemkl
elseif usemkl && eltype(A) <: Float64
DefaultAlgorithmChoice.MKLLUFactorization
else
DefaultAlgorithmChoice.LUFactorization
Expand All @@ -179,7 +179,7 @@ function defaultalg(A, b, assump::OperatorAssumptions)
DefaultAlgorithmChoice.QRFactorization
elseif __conditioning(assump) === OperatorCondition.SuperIllConditioned
DefaultAlgorithmChoice.SVDFactorization
elseif usemkl
elseif usemkl && eltype(A) <: Float64
DefaultAlgorithmChoice.MKLLUFactorization
else
DefaultAlgorithmChoice.LUFactorization
Expand Down

0 comments on commit 920fade

Please sign in to comment.