X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fposition.cpp;h=e6fdb511fcc10a03f11ab3eb72fd79917f52d96e;hb=a9c26357deb01c764cd16ef4e61acb4f687cbd77;hp=ba6888eb9489662cc4746726e9c04f2a6de0414e;hpb=37160c4b1632245d46d86cec7bd22b76f5a87531;p=stockfish diff --git a/src/position.cpp b/src/position.cpp index ba6888eb..e6fdb511 100644 --- a/src/position.cpp +++ b/src/position.cpp @@ -1163,6 +1163,11 @@ bool Position::see_ge(Move m, Bitboard& occupied, Value threshold) const { return bool(res); } +bool Position::see_ge(Move m, Value threshold) const { + Bitboard occupied; + return see_ge(m, occupied, threshold); +} + /// Position::is_draw() tests whether the position is drawn by 50-move rule /// or by repetition. It does not detect stalemates.