Skip to content

Commit d9e913e

Browse files
ill-conditioned is correct
1 parent 16472b5 commit d9e913e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/default.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ function defaultalg(A, b, assump::OperatorAssumptions{true})
155155
# whether MKL or OpenBLAS is being used
156156
if (A === nothing && !(b isa GPUArraysCore.AbstractGPUArray)) || A isa Matrix
157157
if (A === nothing || eltype(A) <: Union{Float32, Float64, ComplexF32, ComplexF64}) &&
158-
ArrayInterface.can_setindex(b) && __conditioning(assump) != OperatorCondition.IllConditioned
158+
ArrayInterface.can_setindex(b) && __conditioning(assump) === OperatorCondition.IllConditioned
159159
if length(b) <= 10
160160
alg = GenericLUFactorization()
161161
elseif (length(b) <= 100 || (isopenblas() && length(b) <= 500)) &&

0 commit comments

Comments
 (0)