From 72af519e7ff93ca3524f82db1d429002d2d9ea72 Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Tue, 24 Mar 2009 10:50:13 +0100 Subject: [PATCH 1/1] When asked for position key print it as an hex value Merged from Glaurung current development snapshot. Signed-off-by: Marco Costalba --- src/uci.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uci.cpp b/src/uci.cpp index 6ce3bf85..48459757 100644 --- a/src/uci.cpp +++ b/src/uci.cpp @@ -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; -- 2.39.2