From 295352d04ad932743941b043ddd90d556bedd89d Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Thu, 18 Sep 2008 09:48:56 +0100 Subject: [PATCH 1/1] Fix: "Ponder" option has type bool not int 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 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)")); -- 2.39.2