Skip to content

Commit 208b284

Browse files
authored
Typos in comments (#163)
1 parent 14edeae commit 208b284

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/dual_equality_constraints.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,13 @@ function add_dual_equality_constraints(
8484
continue # constrained variable
8585
end
8686
# Add equality constraint
87-
# these are constraints associated to primal variables that# are not
87+
# these are constraints associated to primal variables that are not
8888
# treated as constrained variables, that is "free variables" (x \in R)
8989
# therefore their associated dual constraints are equalities.
9090
dual_ci = MOI.Utilities.normalize_and_add_constraint(
9191
dual_model,
9292
MOI.ScalarAffineFunction(
93-
# TODO: flip these two signs bellow to mathc _add_constrained_variable_constraint
93+
# TODO: flip these two signs bellow to match _add_constrained_variable_constraint
9494
# MOI.Utilities.operate_terms(-, scalar_affine_terms[primal_vi]),
9595
# sense_change * get(scalar_terms, primal_vi, zero(T))),
9696
MOI.Utilities.operate_terms(+, scalar_affine_terms[primal_vi]),

0 commit comments

Comments
 (0)