Skip to content

Commit 03d9ada

Browse files
authored
Fix typos in comments (#3007)
1 parent 75eaa7e commit 03d9ada

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/Utilities/vector_of_constraints.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ function MOI.add_constraint(
7373
) where {F<:MOI.AbstractFunction,S<:MOI.AbstractSet}
7474
# We canonicalize the constraint so that solvers can avoid having to
7575
# canonicalize it most of the time (they can check if they need to with
76-
# `is_canonical`.
76+
# `is_canonical`).
7777
# Note that the canonicalization is not guaranteed if for instance
7878
# `modify` is called and adds a new term.
7979
# See https://github.com/jump-dev/MathOptInterface.jl/pull/1118

src/functions.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ function Base.copy(f::ScalarNonlinearFunction)
360360
# We need some sort of hint so that the next time we see this on the
361361
# stack we evaluate it using the args in `result_stack`. One option
362362
# would be a custom type. Or we can just wrap in (,) and then check
363-
# for a Tuple, which isn't (curretly) a valid argument.
363+
# for a Tuple, which isn't (currently) a valid argument.
364364
push!(stack, (arg,))
365365
for child in arg.args
366366
push!(stack, child)

0 commit comments

Comments
 (0)