From 4a310baae2416055167a137e972a1160e236195a Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Mon, 9 Apr 2012 08:09:02 +0100 Subject: [PATCH] Disable book during analysis It is still enabled during fixed limit search so to use it during fixed depth/nodes/time matches. Bug reported by Daylen. No functional changes. Signed-off-by: Marco Costalba --- src/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search.cpp b/src/search.cpp index 7349e96b..1d06dbd0 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -265,7 +265,7 @@ void Search::think() { goto finalize; } - if (Options["OwnBook"]) + if (Options["OwnBook"] && !Limits.infinite) { Move bookMove = book.probe(pos, Options["Book File"], Options["Best Book Move"]); -- 2.39.2