Re-enable increment operator for Piece.

No functional change.
This commit is contained in:
joergoster
2020-06-24 20:18:32 +02:00
parent 8ef6c837b7
commit 0e932757e5
+1 -1
View File
@@ -983,7 +983,7 @@ bool EvalList::is_valid(const Position& pos)
for (Piece pc = NO_PIECE; pc < PIECE_NB; ++pc) for (Piece pc = NO_PIECE; pc < PIECE_NB; ++pc)
{ {
auto pt = type_of(pc); auto pt = type_of(pc);
if (pt == NO_PIECE || pt == 7) // 存在しない駒 if (pt == NO_PIECE_TYPE || pt == 7) // 存在しない駒
continue; continue;
// 駒pcのBonaPieceの開始番号 // 駒pcのBonaPieceの開始番号