mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-19 16:46:30 +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")
|
else if (token == "key")
|
||||||
{
|
{
|
||||||
std::cout << "key: " << RootPosition.get_key()
|
std::cout << "key: " << std::hex << RootPosition.get_key()
|
||||||
<< " material key: " << RootPosition.get_material_key()
|
<< " material key: " << RootPosition.get_material_key()
|
||||||
<< " pawn key: " << RootPosition.get_pawn_key()
|
<< " pawn key: " << RootPosition.get_pawn_key()
|
||||||
<< std::endl;
|
<< std::endl;
|
||||||
|
|||||||
Reference in New Issue
Block a user