@@ -74,7 +74,7 @@ function defaultalg(A::GPUArraysCore.AbstractGPUArray, b, assump::OperatorAssump
7474 end
7575end
7676
77- function defaultalg (A:: GPUArraysCore.AbstractGPUArray , b, assump:: OperatorAssumptions{true,IllConditioned} )
77+ function defaultalg (A:: GPUArraysCore.AbstractGPUArray , b, assump:: OperatorAssumptions{true,OperatorCondition. IllConditioned} )
7878 QRFactorization ()
7979end
8080
@@ -86,7 +86,7 @@ function defaultalg(A, b::GPUArraysCore.AbstractGPUArray, assump::OperatorAssump
8686 end
8787end
8888
89- function defaultalg (A, b:: GPUArraysCore.AbstractGPUArray , assump:: OperatorAssumptions{true,IllConditioned} )
89+ function defaultalg (A, b:: GPUArraysCore.AbstractGPUArray , assump:: OperatorAssumptions{true,OperatorCondition. IllConditioned} )
9090 QRFactorization ()
9191end
9292
@@ -130,7 +130,7 @@ function defaultalg(A::GPUArraysCore.AbstractGPUArray, b::GPUArraysCore.Abstract
130130end
131131
132132function defaultalg (A:: GPUArraysCore.AbstractGPUArray , b:: GPUArraysCore.AbstractGPUArray ,
133- :: OperatorAssumptions{true,IllConditioned} )
133+ :: OperatorAssumptions{true,OperatorCondition. IllConditioned} )
134134 QRFactorization ()
135135end
136136
@@ -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) != 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 )) &&
@@ -167,9 +167,9 @@ function defaultalg(A, b, assump::OperatorAssumptions{true})
167167 else
168168 alg = LUFactorization ()
169169 end
170- elseif __conditioning (assump) === VeryIllConditioned
170+ elseif __conditioning (assump) === OperatorCondition . VeryIllConditioned
171171 alg = QRFactorization ()
172- elseif __conditioning (assump) === SuperIllConditioned
172+ elseif __conditioning (assump) === OperatorCondition . SuperIllConditioned
173173 alg = SVDFactorization (false , LinearAlgebra. QRIteration ())
174174 else
175175 alg = LUFactorization ()
@@ -187,15 +187,15 @@ function defaultalg(A, b, assump::OperatorAssumptions{true})
187187 alg
188188end
189189
190- function defaultalg (A, b, :: OperatorAssumptions{false,IllConditioned} )
190+ function defaultalg (A, b, :: OperatorAssumptions{false,OperatorCondition. IllConditioned} )
191191 QRFactorization ()
192192end
193193
194- function defaultalg (A, b, :: OperatorAssumptions{false,VeryIllConditioned} )
194+ function defaultalg (A, b, :: OperatorAssumptions{false,OperatorCondition. VeryIllConditioned} )
195195 QRFactorization ()
196196end
197197
198- function defaultalg (A, b, :: OperatorAssumptions{false,SuperIllConditioned} )
198+ function defaultalg (A, b, :: OperatorAssumptions{false,OperatorCondition. SuperIllConditioned} )
199199 SVDFactorization (false , LinearAlgebra. QRIteration ())
200200end
201201
0 commit comments