From: Marco Costalba Date: Wed, 26 Dec 2012 11:27:09 +0000 (+0100) Subject: Remove two obsolete asserts in prevents_move X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=9d1978e217812eaa3626f5e1058962c0aca1bc46 Remove two obsolete asserts in prevents_move Now that this function is called also to calculate move's extensions the asserts are no more valid. No functional change. --- diff --git a/src/search.cpp b/src/search.cpp index 085d124e..46636787 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1396,8 +1396,6 @@ split_point_start: // At split points actual search starts from here assert(is_ok(first)); assert(is_ok(second)); - assert(!pos.is_capture_or_promotion(first)); - assert(!pos.is_passed_pawn_push(first)); Square m1from = from_sq(first); Square m2from = from_sq(second);