mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-24 02:57:11 +08:00
Capture Stat Simplification- Bench: 5363761
This commit is contained in:
committed by
Marco Costalba
parent
8cfcca12d1
commit
87452f3a8c
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user