From: Marco Costalba Date: Tue, 1 Sep 2009 13:49:06 +0000 (+0200) Subject: Fix poly values mismerge X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=46ffea46ea64ff070cff07ce374f3618e9b631c8 Fix poly values mismerge I managed to completely mismerge correct values for QuadraticCoefficientsOppositeColor table :-( Now it correspond to tuning branch for real. After 999 games at 1+0 Mod vs Orig +247 =512 -240 50.35% 503.0/999 +2 ELO So almost no change, but the new values comes from the same tuning session of the others, so has more sense to use these ones. Signed-off-by: Marco Costalba --- diff --git a/src/material.cpp b/src/material.cpp index 8532e361..b1671058 100644 --- a/src/material.cpp +++ b/src/material.cpp @@ -47,8 +47,8 @@ namespace { { 7, 25, 4, 7, 7, 7 }, { -27, -2, 46, 100, 56, 7 }, { 58, 29, 83, 148, -3, -25 } }; const int QuadraticCoefficientsOppositeColor[][6] = { - { 0, 0, 0, 0, 0, 0 }, { -4, 0, 0, 0, 0, 0 }, { -31, 21, 0, 0, 0, 0 }, - { 16, 23, -2, 0, 0, 0 }, { 9, -1, -18, -63, 0, 0 }, { 65, 60, -38, 110, 130, 0 } }; + { 41, 41, 41, 41, 41, 41 }, { 37, 41, 41, 41, 41, 41 }, { 10, 62, 41, 41, 41, 41 }, + { 57, 64, 39, 41, 41, 41 }, { 50, 40, 23, -22, 41, 41 }, { 106, 101, 3, 151, 171, 41 } }; // Named endgame evaluation and scaling functions, these // are accessed direcly and not through the function maps.