]> projects.mako.cc - selectricity-live/blobdiff - lib/rubyvote/irv.rb
minor changes to the election show page, still having trouble figuring out how to...
[selectricity-live] / lib / rubyvote / irv.rb
index b26b1d1990720fe85cf5e78774bbd8642098e378..c3fabe6e488de75352c1ae53305e0a1b0785022c 100644 (file)
@@ -88,7 +88,7 @@ class InstantRunoffResult < ElectionResult
     end
     
     unless votes.length > 0
     end
     
     unless votes.length > 0
-      @winners=[nil]
+      @winners=[]
       return
     end
 
       return
     end
 

Benjamin Mako Hill || Want to submit a patch?