From: lucasart Date: Sun, 16 Nov 2014 23:04:58 +0000 (+0800) Subject: Half History Max X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=3b1f552b08b254a5b2d8234ba35d52d3ee86a7cb Half History Max STC LLR: 3.35 (-2.94,2.94) [-0.50,3.50] Total: 17993 W: 3740 L: 3508 D: 10745 LTC LLR: 3.25 (-2.94,2.94) [0.00,4.00] Total: 21346 W: 3691 L: 3453 D: 14202 Bench: 7694316 Resolves #120 --- diff --git a/src/movepick.h b/src/movepick.h index c512d130..b9d2594a 100644 --- a/src/movepick.h +++ b/src/movepick.h @@ -40,7 +40,7 @@ template struct Stats { - static const Value Max = Value(2000); + static const Value Max = Value(250); const T* operator[](Piece pc) const { return table[pc]; } void clear() { std::memset(table, 0, sizeof(table)); } 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) {