mirror of
https://github.com/official-stockfish/Stockfish.git
synced 2026-07-22 12:47:08 +00:00
Remove superfluous cast
closes https://github.com/official-stockfish/Stockfish/pull/6277 No functional change
This commit is contained in:
committed by
Joost VandeVondele
parent
6a6dadb5a6
commit
7a3483fa9e
+1
-1
@@ -79,7 +79,7 @@ std::ostream& operator<<(std::ostream& os, const Position& pos) {
|
||||
for (Bitboard b = pos.checkers(); b;)
|
||||
os << UCIEngine::square(pop_lsb(b)) << " ";
|
||||
|
||||
if (int(Tablebases::MaxCardinality) >= popcount(pos.pieces()) && !pos.can_castle(ANY_CASTLING))
|
||||
if (Tablebases::MaxCardinality >= popcount(pos.pieces()) && !pos.can_castle(ANY_CASTLING))
|
||||
{
|
||||
StateInfo st;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user