diff --git a/AUTHORS b/AUTHORS index b43a9e5b6..76b4f71ca 100644 --- a/AUTHORS +++ b/AUTHORS @@ -31,6 +31,7 @@ Andy Duplain Antoine Champion (antoinechampion) Aram Tumanian (atumanian) Arjun Temurnikar +Aron Petkovski (fury) Artem Solopiy (EntityFX) Auguste Pop Balazs Szilagyi diff --git a/src/search.cpp b/src/search.cpp index e698e2c7f..c5534924b 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -848,12 +848,10 @@ Value Search::Worker::search( } // Step 9. Null move search with verification search - if (cutNode && (ss - 1)->currentMove != Move::null() && eval >= beta + if (cutNode && (ss - 1)->currentMove != Move::null() && ss->staticEval >= beta - 19 * depth + 389 && !excludedMove && pos.non_pawn_material(us) && ss->ply >= nmpMinPly && !is_loss(beta)) { - assert(eval - beta >= 0); - // Null move dynamic reduction based on depth Depth R = 7 + depth / 3;