]> git.sesse.net Git - stockfish/blobdiff - src/material.h
Reduce penalty for doubled pawns further away from each other
[stockfish] / src / material.h
index 8ca13cd005e09bd8178a7d66d66362ee7ca5aee9..023d4497e456f6c5e0494a763f87f8a552260c19 100644 (file)
@@ -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;