X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmaterial.cpp;h=ce63e8b5b2df17b95d3fde7abb074c86801db7fa;hp=19a334baa25727e35ee2f198b3e72d93e14b7267;hb=48e39c5c8e671a37f09732d4a55d93d5e2d38550;hpb=13524bea9b7a64dd2881880b2272f3ccd494c262 diff --git a/src/material.cpp b/src/material.cpp index 19a334ba..ce63e8b5 100644 --- a/src/material.cpp +++ b/src/material.cpp @@ -117,7 +117,7 @@ MaterialInfo* MaterialInfoTable::get_material_info(const Position& pos) const { // Let's look if we have a specialized evaluation function for this // particular material configuration. First we look for a fixed // configuration one, then a generic one if previous search failed. - if ((mi->evaluationFunction = funcs->get >(key)) != NULL) + if ((mi->evaluationFunction = funcs->get(key)) != NULL) return mi; if (is_KXK(pos)) @@ -154,7 +154,7 @@ MaterialInfo* MaterialInfoTable::get_material_info(const Position& pos) const { // scaling functions and we need to decide which one to use. EndgameBase* sf; - if ((sf = funcs->get >(key)) != NULL) + if ((sf = funcs->get(key)) != NULL) { mi->scalingFunction[sf->color()] = sf; return mi;