Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/sets_count.jl
Original file line number Diff line number Diff line change
Expand Up @@ -238,14 +238,14 @@ end

``\\{(z, x, y) \\in \\mathbb{N} \\times \\mathbb{R}^\\mathtt{dimension} \\times \\mathbb{R}^\\mathtt{dimension} : Z = |\\{i | x_i = y_i\\}|\\}``

The first `dimension` variables are the first array that is compared to the
second one, indicated by the next `dimension` variables. The last variable
The first `dimension` variables after `z` are the first array that is compared to the
second one, indicated by the next `dimension` variables. The first variable
is the number of values that are identical in both arrays.

## Example

[v, w, x, y, z] in Count(2)
# w == sum([w, x] .== [y, z])
# v == sum([w, x] .== [y, z])
"""
struct CountCompare <: MOI.AbstractVectorSet
dimension::Int
Expand Down
Loading