]> projects.mako.cc - selectricity/blobdiff - lib/rubyvote/condorcet.rb
removed save line that was causing the new elections to fail
[selectricity] / lib / rubyvote / condorcet.rb
old mode 100644 (file)
new mode 100755 (executable)
index 616de48..95663d4
@@ -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?