mirror of
https://github.com/sockspls/badfish
synced 2025-05-02 17:49:35 +00:00
Evaluation drift: add always 7 instead of ply
After 828 games at 1+0 Mod vs Orig +191 =447 -190 50.06% 414.5/828 So almost no difference. Patch is committed more for documentation purposes then for other reasons. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
e4277c06bf
commit
24cc3a97a4
1 changed files with 2 additions and 2 deletions
|
@ -1540,10 +1540,10 @@ namespace {
|
||||||
// Use the cached evaluation score if possible
|
// Use the cached evaluation score if possible
|
||||||
assert(ei.futilityMargin == Value(0));
|
assert(ei.futilityMargin == Value(0));
|
||||||
|
|
||||||
staticValue = tte->value() + ply;
|
staticValue = tte->value() + 7;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
staticValue = evaluate(pos, ei, threadID) + ply;
|
staticValue = evaluate(pos, ei, threadID) + 7;
|
||||||
|
|
||||||
if (ply == PLY_MAX - 1)
|
if (ply == PLY_MAX - 1)
|
||||||
return evaluate(pos, ei, threadID);
|
return evaluate(pos, ei, threadID);
|
||||||
|
|
Loading…
Add table
Reference in a new issue