Subject: | missing object method "urFloat" in FIDE.pm |
Date: | Mon, 27 Aug 2007 18:56:37 +0200 |
To: | bug-Games-Tournament-Swiss [...] rt.cpan.org |
From: | Christian Bartolomaeus <bartolin [...] gmx.de> |
Hi,
testing the module Games::Tournament::Swiss with some notional
tournaments I encountered an error regarding object method "urFloat"
in FIDE.pm.
The full output of
$> perl pairstately
follows:
Round 3: 4 (2), 1 2 (1), 3 (0),
Next, Bracket 1: 4
C1, Bracket 1. Floating 4 Down, [1] 4 => [2] 4 1 2
Next, Bracket 2: 4 1 2
C1, B1a: NOK. 4 C12,
Use of uninitialized value in splice at /usr/local/share/perl/5.8.8/Games/Tournament/Swiss/Procedure/FIDE.pm line 1102.
Unfloating Down 4, [-1] [-2] 4 4 1 2
Can't locate object method "urFloat" via package "Games::Tournament::Swiss::Procedure" at /usr/local/share/perl/5.8.8/Games/Tournament/Swiss/Procedure/FIDE.pm line 925.
In this case it was a tournament with only 4 participants and 3
rounds. A bit extreme, but I think it shouldn't break the pairing
algorithm. In this case, player 4 already played against players 1
and 2, so he had to be paired against player 3.
I think I saw that particular error before when testing with more
participants.
If you need more informations or test cases I will gladly provide
them.
Best regards,
Christian