]> git.sesse.net Git - stockfish/blobdiff - src/pawns.cpp
Use probe() as name for looking up into an hash table
[stockfish] / src / pawns.cpp
index 59c05c73276798011cb528bad093adff89d7deff..587c9b95509224a4f396ae27ec50cf2a3aac6f50 100644 (file)
@@ -75,7 +75,7 @@ PawnInfo* PawnInfoTable::get_pawn_info(const Position& pos) const {
   assert(pos.is_ok());
 
   Key key = pos.get_pawn_key();
-  PawnInfo* pi = find(key);
+  PawnInfo* pi = probe(key);
 
   // If pi->key matches the position's pawn hash key, it means that we
   // have analysed this pawn structure before, and we can simply return