From 62aabe17f51be446330868c2f41c58e7397e185b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Thu, 1 Feb 2024 22:26:24 +0100 Subject: [PATCH] fix sort order --- src/state_explorer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/state_explorer.cpp b/src/state_explorer.cpp index 098561c..5c1dbd1 100644 --- a/src/state_explorer.cpp +++ b/src/state_explorer.cpp @@ -407,7 +407,7 @@ namespace Hanabi if (not right.second.has_value()) { return true; } - return left.second.value() < right.second.value(); + return left.second.value() > right.second.value(); }); int max_rational_digit_len = std::accumulate( reasonable_actions.begin(), reasonable_actions.end(), 0, [](