X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fsearch.cpp;fp=src%2Fsearch.cpp;h=c4ed73372df2040ffee3bc7093e61e9301011ecd;hb=282644f1413db0ccb58e2e1793d5007c58ff8ce2;hp=6e41f48de303cc89248a4d6472b3d21586315919;hpb=ca3c1c5f3a5f011edd04af856cdd59bdaefe423d;p=stockfish diff --git a/src/search.cpp b/src/search.cpp index 6e41f48d..c4ed7337 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -801,7 +801,7 @@ namespace { // Use static evaluation difference to improve quiet move ordering if (is_ok((ss-1)->currentMove) && !(ss-1)->inCheck && !priorCapture) { - int bonus = std::clamp(-depth * 4 * int((ss-1)->staticEval + ss->staticEval), -1000, 1000); + int bonus = std::clamp(-16 * int((ss-1)->staticEval + ss->staticEval), -2000, 2000); thisThread->mainHistory[~us][from_to((ss-1)->currentMove)] << bonus; }