mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 08:43:09 +00:00
Restore std::dec after std::hex
Code is leaking a std::hex, and causes subsequent sync_cout output to be in hexadecimal. Spotted by Lucas No functional change.
This commit is contained in:
parent
42a20920e5
commit
fc0733087a
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ std::ostream& operator<<(std::ostream& os, const Position& pos) {
|
|||
}
|
||||
|
||||
os << "\nFen: " << pos.fen() << "\nKey: " << std::hex << std::uppercase
|
||||
<< std::setfill('0') << std::setw(16) << pos.st->key << "\nCheckers: ";
|
||||
<< std::setfill('0') << std::setw(16) << pos.st->key << std::dec << "\nCheckers: ";
|
||||
|
||||
for (Bitboard b = pos.checkers(); b; )
|
||||
os << UCI::format_square(pop_lsb(&b)) << " ";
|
||||
|
|
Loading…
Add table
Reference in a new issue