X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=1f77e0aab3a3c94e114246d085bcbde10f741a85;hp=666161fe804053b4313000d16a4e9c2f59fe1b96;hb=4eb2d8ce095b284a1e55762548d9821a83a19b3b;hpb=b97df4c23685ce1ef8d52105cbd78700c8ac0395 diff --git a/src/search.cpp b/src/search.cpp index 666161fe..1f77e0aa 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -584,7 +584,7 @@ namespace { else if (ttHit) { // Never assume anything on values stored in TT - if ((ss->staticEval = eval = tte->eval_value()) == VALUE_NONE) + if ((ss->staticEval = eval = tte->eval()) == VALUE_NONE) eval = ss->staticEval = evaluate(pos); // Can ttValue be used as a better position evaluation? @@ -1165,7 +1165,7 @@ moves_loop: // When in check and at SpNode search starts from here if (ttHit) { // Never assume anything on values stored in TT - if ((ss->staticEval = bestValue = tte->eval_value()) == VALUE_NONE) + if ((ss->staticEval = bestValue = tte->eval()) == VALUE_NONE) ss->staticEval = bestValue = evaluate(pos); // Can ttValue be used as a better position evaluation?