]> git.sesse.net Git - stockfish/blobdiff - src/nnue/features/half_kp.cpp
Small cleanups (march 2021)
[stockfish] / src / nnue / features / half_kp.cpp
index ac6317e7da66d4c424f523e39a993e9aa6ecfe51..5a440b92b621de543d17848c170b6a68f1e78e36 100644 (file)
@@ -40,8 +40,9 @@ namespace Stockfish::Eval::NNUE::Features {
 
     Square ksq = orient(perspective, pos.square<KING>(perspective));
     Bitboard bb = pos.pieces() & ~pos.pieces(KING);
-    while (bb) {
-      Square s = pop_lsb(&bb);
+    while (bb)
+    {
+      Square s = pop_lsb(bb);
       active->push_back(make_index(perspective, s, pos.piece_on(s), ksq));
     }
   }