X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmain.cpp;h=d20d8df4b3dc8af0eb5fe90d7f2c63b900b9dac2;hp=39c5ce58f3b507233ad590deae37ab0c97ca2146;hb=0716768e131d9876ba20d93147d1a1becd0795a4;hpb=74b11e3868ac68e912d14030305ee01e222e8e15;ds=sidebyside diff --git a/src/main.cpp b/src/main.cpp index 39c5ce58..d20d8df4 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -108,7 +108,9 @@ public: response->set_depth(entry->depth()); FillValue(eval, response->mutable_eval()); - FillValue(value, response->mutable_value()); + if (entry->depth() > DEPTH_NONE) { + FillValue(value, response->mutable_value()); + } response->set_bound(HashProbeLine::ValueBound(bound)); // Follow the PV until we hit an illegal move.