X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmaterial.cpp;h=19a334baa25727e35ee2f198b3e72d93e14b7267;hp=add0f32bc29509844997880cc2ffdd3aa9c67cf9;hb=1d0159075e916c738760b788d605b71b3736cb7c;hpb=321320b0814d5994640977cf96e015eba8ce22d5 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