X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fsearch.cpp;h=3cd3b555c4a4506f712c214076ccced287731dd3;hb=101d2bb8eae2c93c94013f56eae3af4faf8886f9;hp=6e719be82f4a719a7c9810c5ea3907967c8cf2f8;hpb=e277dda7166992536124891e212d6d6a866f8a12;p=stockfish diff --git a/src/search.cpp b/src/search.cpp index 6e719be8..3cd3b555 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -772,7 +772,7 @@ Value search(Position& pos, Stack* ss, Value alpha, Value beta, Depth depth, boo update_continuation_histories(ss - 1, pos.piece_on(prevSq), prevSq, stat_bonus(depth) * bonus); thisThread->mainHistory[~us][from_to((ss - 1)->currentMove)] - << stat_bonus(depth) * bonus * 57 / 100; + << stat_bonus(depth) * bonus / 2; } return value; } @@ -1339,7 +1339,7 @@ moves_loop: // When in check, search starts here update_continuation_histories(ss - 1, pos.piece_on(prevSq), prevSq, stat_bonus(depth) * bonus); thisThread->mainHistory[~us][from_to((ss - 1)->currentMove)] - << stat_bonus(depth) * bonus * 61 / 100; + << stat_bonus(depth) * bonus / 2; } if (PvNode)