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

Always extend full ply in PV

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Joona Kiiski 2009-11-22 16:50:44 +02:00 committed by Marco Costalba
parent 58452de86d
commit 8b3fdec7ec

View file

@ -1154,7 +1154,7 @@ namespace {
{
Value excValue = search(pos, ss, ttValue - OnlyMoveMargin, Max(Min(depth / 2, depth - 4 * OnePly), OnePly), ply, false, threadID, tte->move());
if (excValue < ttValue - OnlyMoveMargin)
ext = (depth >= 8 * OnePly)? OnePly : ext + OnePly / 2;
ext = OnePly;
}
}