X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=f2e11e35b520ba4438e478b2a03b7feaaff03a7a;hp=11d1df326bccf1a63238db6a2e3c01021a81b527;hb=c4a1390f4e485b8b6a2cf43504a968a3c8a4317d;hpb=7b278aab9f61620b9dba31896b38aeea1eb911e2 diff --git a/src/search.cpp b/src/search.cpp index 11d1df32..f2e11e35 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1756,10 +1756,6 @@ moves_loop: // When in check, search starts here thisThread->mainHistory[us][from_to(move)] << bonus; update_continuation_histories(ss, pos.moved_piece(move), to_sq(move), bonus); - // Penalty for reversed move in case of moved piece not being a pawn - if (type_of(pos.moved_piece(move)) != PAWN) - thisThread->mainHistory[us][from_to(reverse_move(move))] << -bonus; - // Update countermove history if (is_ok((ss-1)->currentMove)) {