X-Git-Url: http://winboard.nl/cgi-bin?p=capablanca.git;a=blobdiff_plain;f=lasker-2.2.3%2Fbots%2Fmamer%2FTourney.cc;h=c2e3a8763f04bca52d9d5905f81264c00c71f76b;hp=813c938b36196fa7d071b659dabdc4043b6765e4;hb=0ff5591bb1fcb56b4ebf451eb30fb3c413eaad2d;hpb=0673decdb041b796d55fe77e7e4eaf32895265b3 diff --git a/lasker-2.2.3/bots/mamer/Tourney.cc b/lasker-2.2.3/bots/mamer/Tourney.cc index 813c938..c2e3a87 100644 --- a/lasker-2.2.3/bots/mamer/Tourney.cc +++ b/lasker-2.2.3/bots/mamer/Tourney.cc @@ -3,17 +3,13 @@ // // Matthew E. Moses // -// $Revision: 1.12 $ -// $Date: 2002/07/02 00:02:40 $ +// $Revision: 1.11 $ +// $Date: 1998/09/10 19:57:17 $ // -// $Author: tridge $ +// $Author: mlong $ // $Locker: $ // // $Log: Tourney.cc,v $ -// Revision 1.12 2002/07/02 00:02:40 tridge -// - fixed compile on g++ 2.96 -// - updated for lasker 'rmatch' -// // Revision 1.11 1998/09/10 19:57:17 mlong // lots of little bug fixes and a few new features // @@ -43,7 +39,7 @@ // //-------------------------------------------------------------------------- -//static char RCSid[] = "$Id: Tourney.cc,v 1.12 2002/07/02 00:02:40 tridge Exp $"; +//static char RCSid[] = "$Id: Tourney.cc,v 1.11 1998/09/10 19:57:17 mlong Exp $"; #include "Tourney.hh" #include "Mamer.hh" @@ -415,7 +411,7 @@ void Tourney::CloseAndStart(void) { params.rounds = GetPlayerCount() - 1; break; case 's': - params.rounds = (int)ceil(log22(GetPlayerCount())); + params.rounds = (int)ceil(log2(GetPlayerCount())); break; default: params.rounds = DEFAULT_ROUNDS;