mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 16:53:09 +00:00
Fix a compile error in debug mode
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
e59d053984
commit
a9e536a7eb
1 changed files with 1 additions and 1 deletions
|
@ -515,7 +515,7 @@ bool Position::pl_move_is_legal(Move m, Bitboard pinned) const {
|
|||
|
||||
bool Position::pl_move_is_evasion(Move m, Bitboard pinned) const
|
||||
{
|
||||
assert(pos.is_check());
|
||||
assert(is_check());
|
||||
|
||||
Color us = side_to_move();
|
||||
Square from = move_from(m);
|
||||
|
|
Loading…
Add table
Reference in a new issue