Skip to content

Commit 20c4166

Browse files
authored
Fix typos in docstring of CountCompare (#40)
1 parent 2fb38a2 commit 20c4166

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/sets_count.jl

+3-3
Original file line numberDiff line numberDiff line change
@@ -238,14 +238,14 @@ end
238238
239239
``\\{(z, x, y) \\in \\mathbb{N} \\times \\mathbb{R}^\\mathtt{dimension} \\times \\mathbb{R}^\\mathtt{dimension} : Z = |\\{i | x_i = y_i\\}|\\}``
240240
241-
The first `dimension` variables are the first array that is compared to the
242-
second one, indicated by the next `dimension` variables. The last variable
241+
The first `dimension` variables after `z` are the first array that is compared to the
242+
second one, indicated by the next `dimension` variables. The first variable
243243
is the number of values that are identical in both arrays.
244244
245245
## Example
246246
247247
[v, w, x, y, z] in Count(2)
248-
# w == sum([w, x] .== [y, z])
248+
# v == sum([w, x] .== [y, z])
249249
"""
250250
struct CountCompare <: MOI.AbstractVectorSet
251251
dimension::Int

0 commit comments

Comments
 (0)