From 7f24b27652ee6fa84e38f181cea57f319af0c204 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Mon, 28 Jul 2025 13:52:00 +0200 Subject: Make failed assert exit immediately --- src/core/oriented_cube.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/core/oriented_cube.h') diff --git a/src/core/oriented_cube.h b/src/core/oriented_cube.h index 2c86af0..5449204 100644 --- a/src/core/oriented_cube.h +++ b/src/core/oriented_cube.h @@ -56,8 +56,7 @@ applymoves(oriented_cube_t cube, const char *buf) uint8_t m; oriented_cube_t c, cinv; - DBG_ASSERT(isconsistent(cube), ZERO_ORIENTED_CUBE, - "move error: inconsistent cube\n"); + DBG_ASSERT(isconsistent(cube), "move error: inconsistent cube\n"); c = cube; cinv = SOLVED_ORIENTED_CUBE; -- cgit v1.3