diff --git a/src/search.cpp b/src/search.cpp index 291b99bd1..1c3622884 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -102,9 +102,7 @@ int risk_tolerance(const Position& pos, Value v) { return 644800 * x / ((x * x + 3 * y * y) * y); }; - int m = (67 * pos.count() + 182 * pos.count() + 182 * pos.count() - + 337 * pos.count() + 553 * pos.count()) - / 64; + int m = pos.count() + pos.non_pawn_material() / 300; // a and b are the crude approximation of the wdl model. // The win rate is: 1/(1+exp((a-v)/b))