Count in the difference of static evaluation
and alpha for pruning threshold.
STC:
LLR: 2.96 (-2.94,2.94) [0.00,5.00]
Total: 16885 W: 3061 L: 2866 D: 10958
LTC:
LLR: 2.95 (-2.94,2.94) [0.00,5.00]
Total: 33566 W: 4428 L: 4202 D: 24936
Bench:
5513149
&& !pos.see_ge(move, Value(-35 * lmrDepth * lmrDepth)))
continue;
}
- else if ( depth < 7 * ONE_PLY
- && !extension
- && !pos.see_ge(move, Value(-35 * depth / ONE_PLY * depth / ONE_PLY)))
+ else if (depth < 7 * ONE_PLY && !extension)
+ {
+ Value v = Value(-35 * depth / ONE_PLY * depth / ONE_PLY);
+ if (ss->staticEval != VALUE_NONE)
+ v += ss->staticEval - alpha - 200;
+
+ if (!pos.see_ge(move, v))
continue;
+ }
}
// Speculative prefetch as early as possible