]> git.sesse.net Git - stockfish/blobdiff - src/move.cpp
Don't need to assert for pos.is_ok() when position is constant
[stockfish] / src / move.cpp
index 39344aae1f76e71b2064de7e43be7f756796b027..c45e1c2c7258c8863623e276ed37b1cde03c646a 100644 (file)
@@ -88,7 +88,6 @@ const string move_to_san(Position& pos, Move m) {
   if (m == MOVE_NULL)
       return "(null)";
 
-  assert(pos.is_ok());
   assert(move_is_ok(m));
 
   Bitboard attackers;