mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-26 20:16:14 +08:00
Remove two obsolete asserts in prevents_move
Now that this function is called also to calculate move's extensions the asserts are no more valid. No functional change.
This commit is contained in:
@@ -1396,8 +1396,6 @@ split_point_start: // At split points actual search starts from here
|
||||
|
||||
assert(is_ok(first));
|
||||
assert(is_ok(second));
|
||||
assert(!pos.is_capture_or_promotion(first));
|
||||
assert(!pos.is_passed_pawn_push(first));
|
||||
|
||||
Square m1from = from_sq(first);
|
||||
Square m2from = from_sq(second);
|
||||
|
||||
Reference in New Issue
Block a user