projects
/
stockfish
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d549497
)
Disable book during analysis
author
Marco Costalba
<mcostalba@gmail.com>
Mon, 9 Apr 2012 07:09:02 +0000
(08:09 +0100)
committer
Marco Costalba
<mcostalba@gmail.com>
Mon, 9 Apr 2012 07:09:02 +0000
(08:09 +0100)
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 <mcostalba@gmail.com>
src/search.cpp
patch
|
blob
|
history
diff --git
a/src/search.cpp
b/src/search.cpp
index 7349e96b48d9c2f93372eeabe9ad2c56bc9095cb..1d06dbd05748d75073647c544a603171e1b5a89b 100644
(file)
--- 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"]);