Bugfixing explain

This commit is contained in:
Claude Brisson
2025-07-24 20:38:49 +02:00
parent d47d4fc8cc
commit 84ab78c461
3 changed files with 15 additions and 12 deletions

View File

@@ -91,7 +91,7 @@ sealed class Solver(
fun pair(): List<Game> {
// check that at this stage, we have an even number of pairables
// The BYE player should have been added beforehand to make a number of pairables even.
// The BYE player should have been added beforehand to make the number of pairables even.
if (pairables.size % 2 != 0) throw Error("expecting an even number of pairables")
val builder = GraphBuilder(SimpleDirectedWeightedGraph<Pairable, DefaultWeightedEdge>(DefaultWeightedEdge::class.java))