From 20c416674bd110a44ab71d84e9bd87975bf921a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Legat?= Date: Thu, 17 Oct 2024 15:07:52 +0200 Subject: [PATCH] Fix typos in docstring of CountCompare (#40) --- src/sets_count.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/sets_count.jl b/src/sets_count.jl index e35a816..0355f3c 100644 --- a/src/sets_count.jl +++ b/src/sets_count.jl @@ -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