From: Joe Slag Date: Mon, 19 Mar 2007 17:52:37 +0000 (+0000) Subject: Missed a now unnecessary assignment to @candidates in #tally_votes X-Git-Url: https://projects.mako.cc/source/rubyvote/commitdiff_plain/f850a85716a7015d7df7057701482901069b2d88?ds=inline Missed a now unnecessary assignment to @candidates in #tally_votes git-svn-id: svn://rubyforge.org/var/svn/rubyvote/trunk@19 1440c7f4-e209-0410-9a04-881b5eb134a8 --- diff --git a/lib/rubyvote/condorcet.rb b/lib/rubyvote/condorcet.rb index 68b3c70..96a103b 100644 --- a/lib/rubyvote/condorcet.rb +++ b/lib/rubyvote/condorcet.rb @@ -76,8 +76,6 @@ class CondorcetVote < ElectionVote # make sure we have a comparable object @votes[loser][winner] = 0 unless @votes[loser].has_key?( winner ) - - @candidates << loser unless @candidates.include?( loser ) end end end