Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Utilities/vector_of_constraints.jl
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ function MOI.add_constraint(
) where {F<:MOI.AbstractFunction,S<:MOI.AbstractSet}
# We canonicalize the constraint so that solvers can avoid having to
# canonicalize it most of the time (they can check if they need to with
# `is_canonical`.
# `is_canonical`).
# Note that the canonicalization is not guaranteed if for instance
# `modify` is called and adds a new term.
# See https://github.com/jump-dev/MathOptInterface.jl/pull/1118
Expand Down
2 changes: 1 addition & 1 deletion src/functions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ function Base.copy(f::ScalarNonlinearFunction)
# We need some sort of hint so that the next time we see this on the
# stack we evaluate it using the args in `result_stack`. One option
# would be a custom type. Or we can just wrap in (,) and then check
# for a Tuple, which isn't (curretly) a valid argument.
# for a Tuple, which isn't (currently) a valid argument.
push!(stack, (arg,))
for child in arg.args
push!(stack, child)
Expand Down
Loading