Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
odow authored Oct 13, 2023
1 parent 0f48516 commit fa07a0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/manual/constraints.md
Original file line number Diff line number Diff line change
Expand Up @@ -1564,8 +1564,8 @@ Names registered in the model: x

Boolean constraints should not be added using the `==` operator because JuMP
will rewrite the constraint as `lhs - rhs = 0`, and because constraints like
`a == b == c` require parentheses to diambiguate between `(a == b) == c` and
`a == (b == c)`. In constrast, `a == b := c` is equivalent to `(a == b) := c`:
`a == b == c` require parentheses to disambiguate between `(a == b) == c` and
`a == (b == c)`. In contrast, `a == b := c` is equivalent to `(a == b) := c`:

```jldoctest
julia> model = Model();
Expand Down

0 comments on commit fa07a0f

Please sign in to comment.