X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmaterial.h;h=023d4497e456f6c5e0494a763f87f8a552260c19;hp=b68c4ef12bfc38ed444cee1309efa3afbd758a8e;hb=ef43e6b05d0c79bf2ec7be291866449eba2ef576;hpb=431c3ac485386cc10413fc8a3c7d338dcc71602d diff --git a/src/material.h b/src/material.h index b68c4ef1..023d4497 100644 --- a/src/material.h +++ b/src/material.h @@ -1,7 +1,7 @@ /* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2008 Tord Romstad (Glaurung author) - Copyright (C) 2008-2013 Marco Costalba, Joona Kiiski, Tord Romstad + Copyright (C) 2008-2014 Marco Costalba, Joona Kiiski, Tord Romstad Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -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;