mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 07:27:46 +00:00
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:
+2
-2
@@ -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>());
|
||||
|
||||
Reference in New Issue
Block a user