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) {