]> git.sesse.net Git - stockfish/blobdiff - src/tt.cpp
Use probe() as name for looking up into an hash table
[stockfish] / src / tt.cpp
index d18b512cd429f8a161c583de962e1a68ef4964b3..14217e8db2cafd0fc925143fc04795090136619a 100644 (file)
@@ -117,11 +117,11 @@ void TranspositionTable::store(const Key posKey, Value v, ValueType t, Depth d,
 }
 
 
-/// TranspositionTable::retrieve() looks up the current position in the
+/// TranspositionTable::probe() looks up the current position in the
 /// transposition table. Returns a pointer to the TTEntry or NULL if
 /// position is not found.
 
-TTEntry* TranspositionTable::retrieve(const Key posKey) const {
+TTEntry* TranspositionTable::probe(const Key posKey) const {
 
   uint32_t posKey32 = posKey >> 32;
   TTEntry* tte = first_entry(posKey);