Evaluation drift

Increase evaluation score with ply.

After 940 games at 1+0

Mod vs Orig +247 =487 -206  +15 ELO

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba 2009-09-15 06:47:27 +01:00
parent 6709b01903
commit c81010a878

View file

@ -1543,7 +1543,11 @@ namespace {
staticValue = tte->value(); staticValue = tte->value();
} }
else else
{
staticValue = evaluate(pos, ei, threadID); staticValue = evaluate(pos, ei, threadID);
if (!value_is_mate(staticValue + Value(ply)))
staticValue += Value(ply);
}
if (ply == PLY_MAX - 1) if (ply == PLY_MAX - 1)
return evaluate(pos, ei, threadID); return evaluate(pos, ei, threadID);