]> git.donarmstrong.com Git - debian-ctte.git/commitdiff
Fix patch typo, it worked by magic
authorDidier Raboud <odyx@debian.org>
Tue, 12 Jul 2016 20:22:50 +0000 (22:22 +0200)
committerDidier Raboud <odyx@debian.org>
Tue, 12 Jul 2016 20:22:50 +0000 (22:22 +0200)
scripts/pocket-devotee

index 64075c79113684a5407c2573fa58192120c047b1..1cecb82f0b1f7bdb4837f7569529b62e3ff1db52 100755 (executable)
@@ -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},