diff --git a/src/evaluate.cpp b/src/evaluate.cpp index d8c18ed8..2de96eb9 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -72,7 +72,7 @@ namespace { }; // Evaluation grain size, must be a power of 2 - const int GrainSize = 8; + const int GrainSize = 4; // Evaluation weights, initialized from UCI options enum { Mobility, PassedPawns, Space, KingDangerUs, KingDangerThem }; diff --git a/src/search.cpp b/src/search.cpp index 8ba5b41a..c6ee8c86 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1251,7 +1251,6 @@ split_point_start: // At split points actual search starts from here // Prune moves with negative or equal SEE and also moves with positive // SEE where capturing piece loses a tempo and SEE < beta - futilityBase. if ( futilityBase < beta - && depth < DEPTH_ZERO && pos.see(move, beta - futilityBase) <= 0) { bestValue = std::max(bestValue, futilityBase); diff --git a/src/types.h b/src/types.h index cd0d3619..1e036e89 100644 --- a/src/types.h +++ b/src/types.h @@ -213,7 +213,7 @@ enum Depth { DEPTH_ZERO = 0 * ONE_PLY, DEPTH_QS_CHECKS = -1 * ONE_PLY, DEPTH_QS_NO_CHECKS = -2 * ONE_PLY, - DEPTH_QS_RECAPTURES = -5 * ONE_PLY, + DEPTH_QS_RECAPTURES = -7 * ONE_PLY, DEPTH_NONE = -127 * ONE_PLY };