1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 16:53:09 +00:00

Revert evaluation drift

Still not clear if it helps and, especially, how it
helps. So revert for now to avoid any influence on
future feature now under test.

With this patch we come back to be functional
equivalent to patch e33c94883 F_53.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba 2009-09-20 19:39:54 +01:00
parent 24cc3a97a4
commit e145c0d3e2

View file

@ -1540,10 +1540,10 @@ namespace {
// Use the cached evaluation score if possible
assert(ei.futilityMargin == Value(0));
staticValue = tte->value() + 7;
staticValue = tte->value();
}
else
staticValue = evaluate(pos, ei, threadID) + 7;
staticValue = evaluate(pos, ei, threadID);
if (ply == PLY_MAX - 1)
return evaluate(pos, ei, threadID);