X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmaterial.cpp;h=19a334baa25727e35ee2f198b3e72d93e14b7267;hp=add0f32bc29509844997880cc2ffdd3aa9c67cf9;hb=ad1f28bc1c1c5426fb8ab246f5d43ad57002b4d5;hpb=339e1b49f619ceffa75019e196adf4de74b32cce diff --git a/src/material.cpp b/src/material.cpp index add0f32b..19a334ba 100644 --- a/src/material.cpp +++ b/src/material.cpp @@ -98,7 +98,7 @@ MaterialInfoTable::~MaterialInfoTable() { delete funcs; } MaterialInfo* MaterialInfoTable::get_material_info(const Position& pos) const { Key key = pos.get_material_key(); - MaterialInfo* mi = find(key); + MaterialInfo* mi = probe(key); // If mi->key matches the position's material hash key, it means that we // have analysed this material configuration before, and we can simply