Tidy up benchmark.cpp

Node count is different just becuase now we don't log on
"bench.txt" file anymore so that we avoid some calls to
pretty_pv() that calls Position::do_move().

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2011-04-25 10:46:52 +01:00
parent 05cfb00f26
commit 09d01ee9dc
5 changed files with 74 additions and 72 deletions
+2 -2
View File
@@ -414,8 +414,8 @@ bool think(Position& pos, const SearchLimits& limits, Move searchMoves[]) {
else
NodesBetweenPolls = 30000;
// Look for a book move, only during games, not tests
if (Limits.useTimeManagement() && Options["OwnBook"].value<bool>())
// Look for a book move
if (Options["OwnBook"].value<bool>())
{
if (Options["Book File"].value<std::string>() != OpeningBook.name())
OpeningBook.open(Options["Book File"].value<std::string>());