diff --git a/src/evaluate.cpp b/src/evaluate.cpp index 8a21b0bb..daf0c1d7 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -167,13 +167,13 @@ namespace { constexpr Score PawnlessFlank = S( 19, 84); constexpr Score RookOnPawn = S( 10, 30); constexpr Score SliderOnQueen = S( 42, 21); - constexpr Score ThreatByKing = S( 23, 76); + constexpr Score ThreatByKing = S( 22, 78); constexpr Score ThreatByPawnPush = S( 45, 40); constexpr Score ThreatByRank = S( 16, 3); constexpr Score ThreatBySafePawn = S(173,102); constexpr Score TrappedRook = S( 92, 0); constexpr Score WeakQueen = S( 50, 10); - constexpr Score WeakUnopposedPawn = S( 5, 29); + constexpr Score WeakUnopposedPawn = S( 15, 19); #undef S diff --git a/src/search.cpp b/src/search.cpp index d98ba4e4..2678f7d5 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -388,7 +388,7 @@ void Thread::search() { if (rootDepth >= 5 * ONE_PLY) { Value previousScore = rootMoves[pvIdx].previousScore; - delta = Value(18); + delta = Value(20); alpha = std::max(previousScore - delta,-VALUE_INFINITE); beta = std::min(previousScore + delta, VALUE_INFINITE); diff --git a/src/types.h b/src/types.h index 9e0f8c3e..66be460d 100644 --- a/src/types.h +++ b/src/types.h @@ -180,7 +180,7 @@ enum Value : int { KnightValueMg = 784, KnightValueEg = 868, BishopValueMg = 828, BishopValueEg = 916, RookValueMg = 1286, RookValueEg = 1378, - QueenValueMg = 2528, QueenValueEg = 2698, + QueenValueMg = 2529, QueenValueEg = 2687, MidgameLimit = 15258, EndgameLimit = 3915 };