From 9d1978e217812eaa3626f5e1058962c0aca1bc46 Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Wed, 26 Dec 2012 12:27:09 +0100 Subject: [PATCH] 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. --- src/search.cpp | 2 -- 1 file changed, 2 deletions(-) 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); -- 2.39.2