Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
odow committed Apr 17, 2024
1 parent 4015290 commit 8ca5d2f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/functions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -915,11 +915,7 @@ function Base.isapprox(
end

# This method is used by CBF in testing.
function Base.isapprox(
f::MOI.VectorOfVariables,
g::MOI.VectorAffineFunction;
kwargs...,
)
function Base.isapprox(f::VectorOfVariables, g::VectorAffineFunction; kwargs...)
return isapprox(convert(typeof(g), f), g; kwargs...)
end

Expand Down

0 comments on commit 8ca5d2f

Please sign in to comment.