mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-19 00:26:33 +08:00
When asked for position key print it as an hex value
Merged from Glaurung current development snapshot. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -170,7 +170,7 @@ namespace {
|
||||
}
|
||||
else if (token == "key")
|
||||
{
|
||||
std::cout << "key: " << RootPosition.get_key()
|
||||
std::cout << "key: " << std::hex << RootPosition.get_key()
|
||||
<< " material key: " << RootPosition.get_material_key()
|
||||
<< " pawn key: " << RootPosition.get_pawn_key()
|
||||
<< std::endl;
|
||||
|
||||
Reference in New Issue
Block a user