X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmaterial.cpp;h=b180f797b56032c74d122c5cd236755b27be9909;hp=6a51cb64da97bd1284bf161d4de8d87b96803bb8;hb=ec2927286a7bd3cb6ae68a4f3feaee1036b8196d;hpb=bdbbc4e06bbc1d8437cfdc31cc35006f1ee5f0c9 diff --git a/src/material.cpp b/src/material.cpp index 6a51cb64..b180f797 100644 --- a/src/material.cpp +++ b/src/material.cpp @@ -143,7 +143,8 @@ MaterialInfo* MaterialInfoTable::get_material_info(const Position& pos) { } // Let's look if we have a specialized evaluation function for this - // particular material configuration. + // particular material configuration. First we look for a fixed + // configuration one, then a generic one if previous search failed. if ((mi->evaluationFunction = funcs->getEEF(key)) != NULL) return mi;