From 2f534ddd88ff71e18dc70afeecae356fd4505b7e Mon Sep 17 00:00:00 2001 From: Mai Lavelle Date: Sun, 1 Aug 2021 17:17:36 -0400 Subject: [PATCH] Fix typo in CRASH_COND leading to unexpected continuation after fail --- include/core/Defs.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/core/Defs.hpp b/include/core/Defs.hpp index e90f6ceb..ca2d065e 100644 --- a/include/core/Defs.hpp +++ b/include/core/Defs.hpp @@ -208,7 +208,7 @@ typedef float real_t; do { \ if (unlikely(cond)) { \ FATAL_PRINT(ERR_MSG_COND(cond)); \ - return; \ + GENERATE_TRAP; \ } \ } while (0) #endif