]> git.sesse.net Git - stockfish/blobdiff - src/position.cpp
Introduce namespace Pawns
[stockfish] / src / position.cpp
index 37b5c049cadd2152b6fdccaee44a87d0f57df315..0ed2fff4db4007737aeab8216ebc4a51e87d350f 100644 (file)
@@ -918,8 +918,8 @@ void Position::do_move(Move m, StateInfo& newSt, const CheckInfo& ci, bool moveI
   }
 
   // Prefetch pawn and material hash tables
-  prefetch((char*)thisThread->pawnTable.entries[st->pawnKey]);
-  prefetch((char*)thisThread->materialTable.entries[st->materialKey]);
+  prefetch((char*)thisThread->pawnsTable[st->pawnKey]);
+  prefetch((char*)thisThread->materialTable[st->materialKey]);
 
   // Update incremental scores
   st->psqScore += psq_delta(piece, from, to);