From: Marco Costalba Date: Thu, 18 Sep 2008 08:48:56 +0000 (+0100) Subject: Fix: "Ponder" option has type bool not int X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=295352d04ad932743941b043ddd90d556bedd89d;hp=421fd9c3bfa504a2db87f14c8c5751f712d7dbff;ds=sidebyside Fix: "Ponder" option has type bool not int Signed-off-by: Marco Costalba --- diff --git a/src/search.cpp b/src/search.cpp index c846812e..71da3ec1 100644 --- 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)"));