X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fhistory.cpp;fp=src%2Fhistory.cpp;h=75b19709fb45c7e1769b74f3fd248305715e84ea;hp=a57e6de8da5a5324d09f586304130b64881573f1;hb=35782079749c8f16560a13b9740d1a76654c6fe2;hpb=40ad5194aa08aa8baaa9c6b8625b17fea73a8074 diff --git a/src/history.cpp b/src/history.cpp index a57e6de8..75b19709 100644 --- a/src/history.cpp +++ b/src/history.cpp @@ -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));