diff --git a/src/tt.cpp b/src/tt.cpp index b8fe7567..0b2bf9e9 100644 --- a/src/tt.cpp +++ b/src/tt.cpp @@ -118,6 +118,9 @@ void TranspositionTable::clear() { /// TTEntry t2 if its replace value is greater than that of t2. TTEntry* TranspositionTable::probe(const Key key, bool& found) const { +#if defined(EVAL_LEARN) + return found = false, first_entry(0); +#else TTEntry* const tte = first_entry(key); const uint16_t key16 = key >> 48; // Use the high 16 bits as key inside the cluster @@ -142,6 +145,7 @@ TTEntry* TranspositionTable::probe(const Key key, bool& found) const { replace = &tte[i]; return found = false, replace; +#endif }