Closed pedrohba1 closed 2 years ago
The elimination and double elimination algorithms should have no effect on this. I'm guessing the Swiss pairing algorithm is not acting correctly.
I'm starting work on v2 where one of the big changes will be the Swiss pairing algorithm, so it doesn't fail like it seems to do time to time.
This should be resolved in v2.
When running a tournament, if every match has a draw, the
tourney.nextRound()
simply stales the program and it does not end. Example program:For our use case, it is important to have it work with this behaviour, where it will execute the next round even if all matches have a draw. I'm not quite sure where the problem is, but I would bet it is happening in line 692 or 693, when calling
Algorithms.elim
orlgorithms.doubleElim