diff --git a/src/operators.jl b/src/operators.jl index 0c5309b6881..9e18da55c64 100644 --- a/src/operators.jl +++ b/src/operators.jl @@ -568,12 +568,3 @@ function Base.complex( ) return r + im * i end - -if VERSION >= v"1.11.0-alpha1" && isdefined(LinearAlgebra, :haszero) - # See JuMP.jl#3752 for details. - # Introduced by https://github.com/JuliaLang/julia/pull/52528 - LinearAlgebra.haszero(::Type{<:AbstractVariableRef}) = true - LinearAlgebra.haszero(::Type{<:GenericAffExpr}) = true - LinearAlgebra.haszero(::Type{<:GenericQuadExpr}) = true - LinearAlgebra.haszero(::Type{<:GenericNonlinearExpr}) = true -end