projects
/
fairystockfish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
421fd9c
)
Fix: "Ponder" option has type bool not int
author
Marco Costalba
<mcostalba@gmail.com>
Thu, 18 Sep 2008 08:48:56 +0000 (09:48 +0100)
committer
Marco Costalba
<mcostalba@gmail.com>
Thu, 18 Sep 2008 10:25:22 +0000 (12:25 +0200)
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
c846812
..
71da3ec
100644
(file)
--- a/
src/search.cpp
+++ b/
src/search.cpp
@@
-342,7
+342,7
@@
void think(const Position &pos, bool infinite, bool ponder, int time,
TT.set_size(get_option_value_int("Hash"));
if(button_was_pressed("Clear Hash"))
TT.clear();
- PonderingEnabled = get_option_value_int("Ponder");
+ PonderingEnabled = get_option_value_bool("Ponder");
MultiPV = get_option_value_int("MultiPV");
CheckExtension[1] = Depth(get_option_value_int("Check Extension (PV nodes)"));