@@ -74,7 +74,7 @@ function defaultalg(A::GPUArraysCore.AbstractGPUArray, b, assump::OperatorAssump
74
74
end
75
75
end
76
76
77
- function defaultalg (A:: GPUArraysCore.AbstractGPUArray , b, assump:: OperatorAssumptions{true,IllConditioned} )
77
+ function defaultalg (A:: GPUArraysCore.AbstractGPUArray , b, assump:: OperatorAssumptions{true,OperatorCondition. IllConditioned} )
78
78
QRFactorization ()
79
79
end
80
80
@@ -86,7 +86,7 @@ function defaultalg(A, b::GPUArraysCore.AbstractGPUArray, assump::OperatorAssump
86
86
end
87
87
end
88
88
89
- function defaultalg (A, b:: GPUArraysCore.AbstractGPUArray , assump:: OperatorAssumptions{true,IllConditioned} )
89
+ function defaultalg (A, b:: GPUArraysCore.AbstractGPUArray , assump:: OperatorAssumptions{true,OperatorCondition. IllConditioned} )
90
90
QRFactorization ()
91
91
end
92
92
@@ -130,7 +130,7 @@ function defaultalg(A::GPUArraysCore.AbstractGPUArray, b::GPUArraysCore.Abstract
130
130
end
131
131
132
132
function defaultalg (A:: GPUArraysCore.AbstractGPUArray , b:: GPUArraysCore.AbstractGPUArray ,
133
- :: OperatorAssumptions{true,IllConditioned} )
133
+ :: OperatorAssumptions{true,OperatorCondition. IllConditioned} )
134
134
QRFactorization ()
135
135
end
136
136
@@ -155,7 +155,7 @@ function defaultalg(A, b, assump::OperatorAssumptions{true})
155
155
# whether MKL or OpenBLAS is being used
156
156
if (A === nothing && ! (b isa GPUArraysCore. AbstractGPUArray)) || A isa Matrix
157
157
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
159
159
if length (b) <= 10
160
160
alg = GenericLUFactorization ()
161
161
elseif (length (b) <= 100 || (isopenblas () && length (b) <= 500 )) &&
@@ -167,9 +167,9 @@ function defaultalg(A, b, assump::OperatorAssumptions{true})
167
167
else
168
168
alg = LUFactorization ()
169
169
end
170
- elseif __conditioning (assump) === VeryIllConditioned
170
+ elseif __conditioning (assump) === OperatorCondition . VeryIllConditioned
171
171
alg = QRFactorization ()
172
- elseif __conditioning (assump) === SuperIllConditioned
172
+ elseif __conditioning (assump) === OperatorCondition . SuperIllConditioned
173
173
alg = SVDFactorization (false , LinearAlgebra. QRIteration ())
174
174
else
175
175
alg = LUFactorization ()
@@ -187,15 +187,15 @@ function defaultalg(A, b, assump::OperatorAssumptions{true})
187
187
alg
188
188
end
189
189
190
- function defaultalg (A, b, :: OperatorAssumptions{false,IllConditioned} )
190
+ function defaultalg (A, b, :: OperatorAssumptions{false,OperatorCondition. IllConditioned} )
191
191
QRFactorization ()
192
192
end
193
193
194
- function defaultalg (A, b, :: OperatorAssumptions{false,VeryIllConditioned} )
194
+ function defaultalg (A, b, :: OperatorAssumptions{false,OperatorCondition. VeryIllConditioned} )
195
195
QRFactorization ()
196
196
end
197
197
198
- function defaultalg (A, b, :: OperatorAssumptions{false,SuperIllConditioned} )
198
+ function defaultalg (A, b, :: OperatorAssumptions{false,OperatorCondition. SuperIllConditioned} )
199
199
SVDFactorization (false , LinearAlgebra. QRIteration ())
200
200
end
201
201
0 commit comments