X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=5e356115b00eb5944c58bde4f069b861e9b13ede;hp=ccea71ca0842eaaa073cde03f9987ed934e4eaca;hb=3b1f552b08b254a5b2d8234ba35d52d3ee86a7cb;hpb=4840643fedbfc33d118cdc13c8435b062e3da99b;ds=sidebyside diff --git a/src/search.cpp b/src/search.cpp index ccea71ca..5e356115 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1252,7 +1252,7 @@ moves_loop: // When in check and at SpNode search starts from here // Increase history value of the cut-off move and decrease all the other // played quiet moves. - Value bonus = Value(4 * int(depth) * int(depth)); + Value bonus = Value(int(depth) * int(depth)); History.update(pos.moved_piece(move), to_sq(move), bonus); for (int i = 0; i < quietsCnt; ++i) {