X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fsearch.cpp;h=9478ef17bf48032d21284f27f1e395e8e164ecd1;hb=6b5322ce000d6a8a6f845beda2d7e149e1baea0c;hp=72ab9a1228d36bc58deb8d40e0c92c45fb896f87;hpb=67d91dfd505ce7e2c641c12e5d14b50896874ec7;p=stockfish diff --git a/src/search.cpp b/src/search.cpp index 72ab9a12..9478ef17 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1354,7 +1354,7 @@ split_point_start: // At split points actual search starts from here while (b) { // Note that here we generate illegal "double move"! - if (futilityBase + PieceValueEndgame[pos.piece_on(pop_1st_bit(&b))] >= beta) + if (futilityBase + PieceValueEndgame[pos.piece_on(pop_lsb(&b))] >= beta) return true; }