mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-23 10:36:26 +08:00
Introduce operator~(Piece c)
Small syntactic sugar to reverse piece color. No functional change.
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
#define S(mg, eg) make_score(mg, eg)
|
||||
|
||||
|
||||
/// PSQT[PieceType][Square] contains Piece-Square scores. For each piece type on
|
||||
/// PSQT[Piece][Square] contains Piece-Square scores. For each piece type on
|
||||
/// a given square a (midgame, endgame) score pair is assigned. PSQT is defined
|
||||
/// for white side, for black side the tables are symmetric.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user