PSQT access functions can be static

Also renamed history access value in something more
in line with the meaning.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2010-07-03 05:48:43 +01:00
parent 40ad5194aa
commit 3578207974
4 changed files with 9 additions and 9 deletions

View 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));