projects
/
selectricity-live
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
working quickvote support created
[selectricity-live]
/
lib
/
rubyvote
/
condorcet.rb
diff --git
a/lib/rubyvote/condorcet.rb
b/lib/rubyvote/condorcet.rb
index 616de48784f741de7aff1c1b2a99eb229548a333..95663d4e4dbee63bbc4a97fea93c90c3791ef3bf 100644
(file)
--- 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
Benjamin Mako Hill
||
Want to submit a patch?