X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmain.cpp;h=d20d8df4b3dc8af0eb5fe90d7f2c63b900b9dac2;hp=39c5ce58f3b507233ad590deae37ab0c97ca2146;hb=f7e14f8032cd390610d8a0a7d7e5cbcb6743bc65;hpb=1e2e46b7190bf8ba2a3a823cca4432f3f81ae20d 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.