Subject: | $self->byes->{pairingNumber} but NOT id |
Date: | Thu, 28 Oct 2010 18:35:11 +0400 |
To: | bug-games-tournament-swiss [...] rt.cpan.org |
From: | DOBRO Sergei <vertolet666 [...] yandex.ru> |
Hi,
I noticed that in some lines in FIDE.pm pairingNumber is used for getting byes instead of id.
In sub c13:
line 1348: if ( @$members == 1 and not $self->byes->{$members->[0]->pairingNumber} ) {
line 1357: if ( @$members == 1 and not $self->byes->{$members->[0]->pairingNumber} ) {
Is it correct?
According to the documentation:
"Gets/sets a anonymous hash, keyed on ids, not pairing numbers of players, of a previous round in which these players had a bye. This has probably been calculated by Games::Tournament::Swiss::byes. B1"