X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmaterial.h;h=023d4497e456f6c5e0494a763f87f8a552260c19;hb=64d29a633066e39b62af5ee0bbf32645994744ec;hp=8ca13cd005e09bd8178a7d66d66362ee7ca5aee9;hpb=fcf2a34080404b90cac46184d76e8f2cdda16bd2;p=stockfish 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;