X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmovegen.cpp;h=8f0a825f0b95dae0c3175293abd5479445c38de8;hp=0f3e4ddb203f3b57db2812a4b04efc94ca58109c;hb=2e46db436965e9f3c9c24d028cc6a8bfc85303d4;hpb=5fc8f86a4f37de0e919c163c81f04b8717a70d3f diff --git a/src/movegen.cpp b/src/movegen.cpp index 0f3e4ddb..8f0a825f 100644 --- a/src/movegen.cpp +++ b/src/movegen.cpp @@ -386,7 +386,6 @@ bool move_is_legal(const Position& pos, const Move m) { bool move_is_legal(const Position& pos, const Move m, Bitboard pinned) { assert(pos.is_ok()); - assert(move_is_ok(m)); assert(pinned == pos.pinned_pieces(pos.side_to_move())); Color us = pos.side_to_move();