Skip to content

Commit 55d52b8

Browse files
committed
Use norm instead of opnorm
1 parent da78aaa commit 55d52b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/IntervalArithmeticLinearAlgebraExt.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ function Base.inv(A::Matrix{<:RealOrComplexI})
126126
mid_A = mid.(A)
127127
approx_A⁻¹ = interval(inv(mid_A))
128128
F = A * approx_A⁻¹ - interval(LinearAlgebra.I)
129-
Y = LinearAlgebra.opnorm(approx_A⁻¹ * F, Inf)
129+
Y = LinearAlgebra.norm(approx_A⁻¹ * F, Inf)
130130
Z₁ = LinearAlgebra.opnorm(F, Inf)
131131
if isbounded(Y) & strictprecedes(Z₁, one(Z₁))
132132
A⁻¹ = interval.(approx_A⁻¹, inf(interval(mag(Y)) / (one(Z₁) - interval(mag(Z₁)))); format = :midpoint)

0 commit comments

Comments
 (0)