From 9a555507baf2b54d0e86a521ce77d49c11fe93cd Mon Sep 17 00:00:00 2001 From: Didier Raboud Date: Tue, 12 Jul 2016 22:22:50 +0200 Subject: [PATCH] Fix patch typo, it worked by magic --- scripts/pocket-devotee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/pocket-devotee b/scripts/pocket-devotee index 64075c7..1cecb82 100755 --- a/scripts/pocket-devotee +++ b/scripts/pocket-devotee @@ -340,7 +340,7 @@ EOM my $ratio = 1.0 * $Beat_Matrix[$i][$max_choices - 1] / $Beat_Matrix[$max_choices - 1][$i]; $Ratio{$i} = sprintf("%.2f", $ratio); - if ($ratio < $order_to_options{$i + 1}{majority} and $Beat_Matrix[$i][$max_choices - 1] or $ratio <= 1) { + if ($ratio < $order_to_options{$i + 1}{majority} or $ratio <= 1) { # If the next line is commented out, we get a more verbose set of results $Drop{$i}++; print {$RESULTS} "Dropping Option ", $order_to_options{$i + 1}{key}, -- 2.39.2