mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-22 01:56:58 +08:00
Rename score to value in ExtMove
We use 'score' for the value mid-endgame pair. No functional change.
This commit is contained in:
@@ -322,11 +322,11 @@ extern Value PieceValue[PHASE_NB][PIECE_NB];
|
||||
|
||||
struct ExtMove {
|
||||
Move move;
|
||||
int score;
|
||||
Value value;
|
||||
};
|
||||
|
||||
inline bool operator<(const ExtMove& f, const ExtMove& s) {
|
||||
return f.score < s.score;
|
||||
return f.value < s.value;
|
||||
}
|
||||
|
||||
inline Color operator~(Color c) {
|
||||
|
||||
Reference in New Issue
Block a user