From f850a85716a7015d7df7057701482901069b2d88 Mon Sep 17 00:00:00 2001 From: Joe Slag Date: Mon, 19 Mar 2007 17:52:37 +0000 Subject: [PATCH 1/1] 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 --- lib/rubyvote/condorcet.rb | 2 -- 1 file changed, 2 deletions(-) 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 -- 2.30.2