X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fpawns.cpp;h=587c9b95509224a4f396ae27ec50cf2a3aac6f50;hb=bb7713c8e92c9373f0294a4317101cccda0e17e5;hp=59c05c73276798011cb528bad093adff89d7deff;hpb=c88eebc98905b47077ef2b35b35ea5705d448d4f;p=stockfish diff --git a/src/pawns.cpp b/src/pawns.cpp index 59c05c73..587c9b95 100644 --- a/src/pawns.cpp +++ b/src/pawns.cpp @@ -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