Skip to content

Commit

Permalink
Fix some typos in the library documentation comments
Browse files Browse the repository at this point in the history
  • Loading branch information
guidotack committed Oct 30, 2018
1 parent 0972960 commit 87c4f75
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion share/minizinc/std/int_set_channel.mzn
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/** @group globals.channeling
Requires that array of int variables \a x and array of set variables \a y
are related such that (\a x[\p i] = \p j) ↔ (\p i in \a y[\p j]).
are related such that (\a x[\p i] = \p j) if and only if (\p i in \a y[\p j]).
*/
predicate int_set_channel(array[int] of var int: x,
array[int] of var set of int: y) =
Expand Down
2 changes: 1 addition & 1 deletion share/minizinc/std/link_set_to_booleans.mzn
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/** @group globals.channeling
Constrain the array of Booleans \a b to be a representation of the set \a s:
\p i in \a s ↔ \a b[\p i].
\p i in \a s if and only if \a b[\p i].

The index set of \a b must be a superset of the possible values of \a s.
*/
Expand Down
8 changes: 4 additions & 4 deletions share/minizinc/std/value_precede_chain.mzn
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ include "value_precede_chain_set.mzn";
Requires that \a c[\p i] precedes \a c[\p i +1] in the array \a x.

Precedence means that if any element of \a x
is equal to \a \a c[\p i +1], then another element of \a x with a lower index is equal
to \a \a c[\p i].
is equal to \a c[\p i +1], then another element of \a x with a lower index is equal
to \a c[\p i].
*/
predicate value_precede_chain(array[int] of int: c, array[int] of var int: x) =
value_precede_chain_int(c, x);
Expand All @@ -15,8 +15,8 @@ predicate value_precede_chain(array[int] of int: c, array[int] of var int: x) =
Requires that \a c[\p i] precedes \a c[\p i +1] in the array \a x.

Precedence means that if an element of \a x
contains \a \a c[\p i +1] but not \a \a c[\p i], then another element of \a x with lower index contains
\a \a c[\p i] but not \a \a c[\p i +1].
contains \a c[\p i +1] but not \a c[\p i], then another element of \a x with lower index contains
\a c[\p i] but not \a c[\p i +1].
*/
predicate value_precede_chain(array[int] of int: c, array[int] of var set of int: x) =
value_precede_chain_set(c, x);

0 comments on commit 87c4f75

Please sign in to comment.