diff --git a/src/uci.cpp b/src/uci.cpp index 227aa993ba7..cc03005ffc0 100644 --- a/src/uci.cpp +++ b/src/uci.cpp @@ -344,8 +344,8 @@ std::pair win_rate_params(const Position& pos) { int material = pos.count() + 3 * pos.count() + 3 * pos.count() + 5 * pos.count() + 9 * pos.count(); - // The fitted model only uses data for material counts in [10, 78], and is anchored at count 62. - double m = std::clamp(material, 10, 78) / 62.0; + // The fitted model only uses data for material counts in [10, 78], and is anchored at count 58. + double m = std::clamp(material, 10, 78) / 58.0; // Return a = p_a(material) and b = p_b(material), see github.com/official-stockfish/WDL_model constexpr double as[] = {-185.71965483, 504.85014385, -438.58295743, 474.04604627};