X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/560828ebdd364de4ca09d61764f19215a9e29e59..c65b1e11059c5cf510b54c785d4a246215058f70:/lib/rubyvote/condorcet.rb diff --git a/lib/rubyvote/condorcet.rb b/lib/rubyvote/condorcet.rb index 616de48..95663d4 100644 --- a/lib/rubyvote/condorcet.rb +++ b/lib/rubyvote/condorcet.rb @@ -142,7 +142,7 @@ class PureCondorcetResult < CondorcetResult victors[candidate].length == @election.candidates.length - 1 end - @winners << winners if winners.length == 1 + @winners = winners if winners.length == 1 end end