]> git.sesse.net Git - stockfish/blobdiff - src/history.cpp
PSQT access functions can be static
[stockfish] / src / history.cpp
index a57e6de8da5a5324d09f586304130b64881573f1..75b19709fb45c7e1769b74f3fd248305715e84ea 100644 (file)
@@ -85,10 +85,10 @@ void History::failure(Piece p, Square to, Depth d) {
 }
 
 
-/// History::move_ordering_score() returns an integer value used to order the
+/// History::value() returns an integer value used to order the
 /// non-capturing moves in the MovePicker class.
 
-int History::move_ordering_score(Piece p, Square to) const {
+int History::value(Piece p, Square to) const {
 
   assert(piece_is_ok(p));
   assert(square_is_ok(to));