Skip to content

Commit e046a69

Browse files
committed
Update
1 parent fac54bf commit e046a69

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/sets.jl

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2827,6 +2827,21 @@ function Base.copy(s::VectorNonlinearOracle)
28272827
)
28282828
end
28292829

2830+
function Base.:(==)(
2831+
x::VectorNonlinearOracle{T},
2832+
y::VectorNonlinearOracle{T},
2833+
) where {T}
2834+
return x.input_dimension == y.input_dimension &&
2835+
x.output_dimension == y.output_dimension &&
2836+
x.l == y.l &&
2837+
x.u == y.u &&
2838+
x.eval_f == y.eval_f &&
2839+
x.jacobian_structure == y.jacobian_structure &&
2840+
x.eval_jacobian == y.eval_jacobian &&
2841+
x.hessian_lagrangian_structure == y.hessian_lagrangian_structure &&
2842+
x.eval_hessian_lagrangian == y.eval_hessian_lagrangian
2843+
end
2844+
28302845
function Base.show(io::IO, s::VectorNonlinearOracle{T}) where {T}
28312846
println(io, "VectorNonlinearOracle{$T}(;")
28322847
println(io, " dimension = ", s.input_dimension, ",")

0 commit comments

Comments
 (0)