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);