]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Simplify sliding_attacks()
[stockfish] / src / search.cpp
index 2e12f82e2a44ff16b3c31a6fc75afb97e715db5d..6a16368f288f11e00892f0aea0a34282cc0fe5cd 100644 (file)
@@ -1649,7 +1649,6 @@ split_point_start: // At split points actual search starts from here
 
     assert(move_is_ok(m));
     assert(threat && move_is_ok(threat));
-    assert(!pos.move_gives_check(m));
     assert(!pos.move_is_capture(m) && !move_is_promotion(m));
     assert(!pos.move_is_passed_pawn_push(m));