X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fposition.cpp;h=58884c37f42cb4ee778c9b0a889303b16d6a7b65;hp=0c7d62ce10e63839356214778211a93662137e75;hb=93bc05cf693064b80bf70cb97c6d110ab8f0a015;hpb=a7227ac26ff2be2a0e477b04022a54e56c8bf35f diff --git a/src/position.cpp b/src/position.cpp index 0c7d62ce..58884c37 100644 --- a/src/position.cpp +++ b/src/position.cpp @@ -1914,8 +1914,7 @@ bool Position::is_mate() { if (is_check()) { - MovePicker mp = MovePicker(*this, false, MOVE_NONE, MOVE_NONE, - MOVE_NONE, MOVE_NONE, Depth(0)); + MovePicker mp = MovePicker(*this, false, MOVE_NONE, EmptySearchStack, Depth(0)); return mp.get_next_move() == MOVE_NONE; } return false;