From cc6db55bd631c825d01f16bac62181ff45e41785 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sat, 17 Mar 2012 14:02:13 +0100 Subject: [PATCH] Skip 0-150 and 150-0 matches for the purpose of the rating. --- train.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/train.pl b/train.pl index d8037db..e55f37c 100755 --- a/train.pl +++ b/train.pl @@ -47,6 +47,8 @@ WHERE deltager1.Nr > deltager2.nr $q->execute($last_season); while (my $ref = $q->fetchrow_hashref) { + next if ($ref->{'maalfor'} == 150 && $ref->{'maalmot'} == 0); + next if ($ref->{'maalfor'} == 0 && $ref->{'maalmot'} == 150); printf DATA "%d %d %d %d %f\n", $ref->{'p1'}, $ref->{'p2'}, $ref->{'maalfor'}, $ref->{'maalmot'}, $ref->{'vekt'}; } -- 2.39.5