Skip to content

Commit

Permalink
Fix Inf-norm for complex LinearOperator
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierHnt committed Jun 3, 2022
1 parent 50ec472 commit d821c1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sequence_spaces/norm.jl
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ end
#

function LinearAlgebra.opnorm(A::LinearOperator, ::ℓ∞{IdentityWeight}, ::ℓ∞{IdentityWeight})
z = zero(eltype(A))
z = abs(zero(eltype(A)))
r = z
A_ = coefficients(A)
for i axes(A_, 1)
Expand Down

0 comments on commit d821c1b

Please sign in to comment.