X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fevaluate.cpp;h=1366d0fb2ab104abe86893bd942f94da524a78a8;hp=fe1366147f6afa4226a531439a55944760ad8b85;hb=70ac5ecbb62b68382073b2367644945c1327ddfc;hpb=ba01f4b95448bcb324755f4dd2a632a57c6e67bc diff --git a/src/evaluate.cpp b/src/evaluate.cpp index fe136614..1366d0fb 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -1091,8 +1091,9 @@ Value Eval::evaluate(const Position& pos) { // Scale and shift NNUE for compatibility with search and classical evaluation auto adjusted_NNUE = [&]() { - - int scale = 903 + 28 * pos.count() + 28 * pos.non_pawn_material() / 1024; + int scale = 903 + + 32 * pos.count() + + 32 * pos.non_pawn_material() / 1024; Value nnue = NNUE::evaluate(pos, true) * scale / 1024;