1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-05-01 01:03:09 +00:00

Capture Stat Simplification- Bench: 5363761

This commit is contained in:
VoyagerOne 2017-11-09 18:23:19 -05:00 committed by Marco Costalba
parent 8cfcca12d1
commit 87452f3a8c

View file

@ -580,8 +580,6 @@ namespace {
{
if (!pos.capture_or_promotion(ttMove))
update_stats(pos, ss, ttMove, nullptr, 0, stat_bonus(depth));
else
update_capture_stats(pos, ttMove, nullptr, 0, stat_bonus(depth));
// Extra penalty for a quiet TT move in previous ply when it gets refuted
if ((ss-1)->moveCount == 1 && !pos.captured_piece())