From 3740d43f1e9ceef07b2e73fcc73d099ec3ca6ee0 Mon Sep 17 00:00:00 2001 From: Fabian Fichter Date: Wed, 18 Sep 2019 21:55:14 +0200 Subject: [PATCH] Skip updating history of reverse move for drops crazyhouse STC LLR: 2.95 (-2.94,2.94) [-10.00,5.00] Total: 3523 W: 1731 L: 1690 D: 102 http://35.161.250.236:6543/tests/view/5d83cf716e23db3768ec083e --- src/search.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/search.cpp b/src/search.cpp index f53382b..b9f9016 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1642,7 +1642,7 @@ moves_loop: // When in check, search starts from here thisThread->mainHistory[us][from_to(move)] << bonus; update_continuation_histories(ss, pos.moved_piece(move), to_sq(move), bonus); - if (type_of(pos.moved_piece(move)) != PAWN) + if (type_of(pos.moved_piece(move)) != PAWN && type_of(move) != DROP) thisThread->mainHistory[us][from_to(reverse_move(move))] << -bonus; if (is_ok((ss-1)->currentMove)) -- 1.7.0.4