From ae528b8c0d90151907e193dded86b42a8ed0277c Mon Sep 17 00:00:00 2001 From: marcins78 Date: Wed, 6 Mar 2013 10:17:16 +0000 Subject: [PATCH] Lowering the number of rounds for swiss tournament. --- .../com/gempukku/lotro/tournament/SwissPairingMechanism.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gemp-lotr/gemp-lotr-server/src/main/java/com/gempukku/lotro/tournament/SwissPairingMechanism.java b/gemp-lotr/gemp-lotr-server/src/main/java/com/gempukku/lotro/tournament/SwissPairingMechanism.java index 0c759a7a2..258758293 100644 --- a/gemp-lotr/gemp-lotr-server/src/main/java/com/gempukku/lotro/tournament/SwissPairingMechanism.java +++ b/gemp-lotr/gemp-lotr-server/src/main/java/com/gempukku/lotro/tournament/SwissPairingMechanism.java @@ -181,7 +181,7 @@ public class SwissPairingMechanism implements PairingMechanism { } private static int getRoundCountBasedOnNumberOfPlayers(int numberOfPlayers) { - return (int) (Math.ceil(Math.log(numberOfPlayers) / Math.log(2))) + 1; + return (int) (Math.ceil(Math.log(numberOfPlayers) / Math.log(2))); } public static void main(String[] args) {