mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 07:27:46 +00:00
Re-enable increment operator for Piece.
No functional change.
This commit is contained in:
+1
-1
@@ -983,7 +983,7 @@ bool EvalList::is_valid(const Position& pos)
|
||||
for (Piece pc = NO_PIECE; pc < PIECE_NB; ++pc)
|
||||
{
|
||||
auto pt = type_of(pc);
|
||||
if (pt == NO_PIECE || pt == 7) // 存在しない駒
|
||||
if (pt == NO_PIECE_TYPE || pt == 7) // 存在しない駒
|
||||
continue;
|
||||
|
||||
// 駒pcのBonaPieceの開始番号
|
||||
|
||||
Reference in New Issue
Block a user