mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 17:16:33 +08:00
Fix: "Ponder" option has type bool not int
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -342,7 +342,7 @@ void think(const Position &pos, bool infinite, bool ponder, int time,
|
|||||||
TT.set_size(get_option_value_int("Hash"));
|
TT.set_size(get_option_value_int("Hash"));
|
||||||
if(button_was_pressed("Clear Hash"))
|
if(button_was_pressed("Clear Hash"))
|
||||||
TT.clear();
|
TT.clear();
|
||||||
PonderingEnabled = get_option_value_int("Ponder");
|
PonderingEnabled = get_option_value_bool("Ponder");
|
||||||
MultiPV = get_option_value_int("MultiPV");
|
MultiPV = get_option_value_int("MultiPV");
|
||||||
|
|
||||||
CheckExtension[1] = Depth(get_option_value_int("Check Extension (PV nodes)"));
|
CheckExtension[1] = Depth(get_option_value_int("Check Extension (PV nodes)"));
|
||||||
|
|||||||
Reference in New Issue
Block a user