X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=8c847714150b7d74668f73a1ef2833f29c311b03;hp=3b81fa86dae57f154d2a41df79620c14a0e6bfb5;hb=2f21ec39adcfc3a2ce4d4fd08eb1fa688c4e67a7;hpb=9b257ba29de2b0d50b6bdbd175509fdb3aaf8e91;ds=inline diff --git a/src/search.cpp b/src/search.cpp index 3b81fa86..8c847714 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1201,7 +1201,7 @@ namespace { && pos.see(ss[ply + 1].currentMove) + nullValue >= beta) nullDrivenIID = true; - pos.undo_null_move(u); + pos.undo_null_move(); if (value_is_mate(nullValue)) {