X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmaterial.h;h=023d4497e456f6c5e0494a763f87f8a552260c19;hp=8ca13cd005e09bd8178a7d66d66362ee7ca5aee9;hb=45973245726d8ba62969891a15cf61fe46cc1f31;hpb=c9dcda6ac488c0058ebd567e1f52e30b8cd0db20 diff --git a/src/material.h b/src/material.h index 8ca13cd0..023d4497 100644 --- a/src/material.h +++ b/src/material.h @@ -42,7 +42,7 @@ struct Entry { Score space_weight() const { return spaceWeight; } Phase game_phase() const { return gamePhase; } bool specialized_eval_exists() const { return evaluationFunction != NULL; } - Value evaluate(const Position& p) const { return (*evaluationFunction)(p); } + Value evaluate(const Position& pos) const { return (*evaluationFunction)(pos); } ScaleFactor scale_factor(const Position& pos, Color c) const; Key key;