From db5c1ea4f4c183c9b2c5a363729103f39d8136fe Mon Sep 17 00:00:00 2001 From: Henri Bourcereau Date: Sat, 7 Mar 2026 13:53:13 +0100 Subject: [PATCH] debug --- store/src/cxxengine.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/store/src/cxxengine.rs b/store/src/cxxengine.rs index 02b485d..55d348c 100644 --- a/store/src/cxxengine.rs +++ b/store/src/cxxengine.rs @@ -153,8 +153,7 @@ impl TricTracEngine { .map(|v| v.into_iter().map(|i| i as u64).collect()) } else { let mirror = self.game_state.mirror(); - get_valid_action_indices(&mirror) - .map(|v| v.into_iter().map(|i| i as u64).collect()) + get_valid_action_indices(&mirror).map(|v| v.into_iter().map(|i| i as u64).collect()) } })) } @@ -243,8 +242,9 @@ impl TricTracEngine { self.game_state ), None => anyhow::bail!( - "apply_action: could not build event from action index {}", - action_idx + "apply_action: could not build event from action index {} in state {}", + action_idx, + self.game_state ), } }))