]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Rename first_1 / last_1 in lsb / msb
[stockfish] / src / search.cpp
index 72ab9a1228d36bc58deb8d40e0c92c45fb896f87..9478ef17bf48032d21284f27f1e395e8e164ecd1 100644 (file)
@@ -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;
     }