]> git.sesse.net Git - stockfish/blobdiff - src/bitboard.cpp
Better naming borrowed from Critter
[stockfish] / src / bitboard.cpp
index 073487e99cf252a02f9ed6656a31578048264279..3bed69bead7665dc9a51e53f29008d67ab8fda9e 100644 (file)
@@ -325,7 +325,7 @@ namespace {
         } while (b);
 
         offset += maxKey;
-        booster = MagicBoosters[CpuIs64Bit][square_rank(s)];
+        booster = MagicBoosters[CpuIs64Bit][rank_of(s)];
 
         // Then find a possible magic and the corresponding attacks
         do {