From 7b05b83bf2f69b1fac0271acd28b2382253f2e37 Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Mon, 30 Mar 2009 12:12:52 +0200 Subject: [PATCH] Fix compile in the debug mode Due to previous patches we end up with a compile error in debug mode. No functional change. Signed-off-by: Marco Costalba --- src/position.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/position.cpp b/src/position.cpp index cdbd9f0d..06323311 100644 --- a/src/position.cpp +++ b/src/position.cpp @@ -867,8 +867,6 @@ void Position::do_capture_move(PieceType capture, Color them, Square to) { st->mgValue -= pst(them, capture, to); st->egValue -= pst(them, capture, to); - assert(!move_promotion(m) || capture != PAWN); - // Update material if (capture != PAWN) npMaterial[them] -= piece_value_midgame(capture); -- 2.39.2