X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fhistory.cpp;h=75b19709fb45c7e1769b74f3fd248305715e84ea;hb=a47a7dadeb505bbd8336effe573a0ea18816021e;hp=a57e6de8da5a5324d09f586304130b64881573f1;hpb=9fc602bae74b8e09bd45ace3b42a8ce84d56b23c;p=stockfish 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));