From 11b968325259b44cb0ba77a45ac25ead7962266c Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Sat, 11 Jan 2025 21:11:42 -0600 Subject: [PATCH] make LOG_VALUE work with polynomial expressions --- src/global.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/global.hpp b/src/global.hpp index 04a585230..f287743ad 100644 --- a/src/global.hpp +++ b/src/global.hpp @@ -48,6 +48,6 @@ inline void LOG(std::string line) { std::cout << line << std::endl; } -#define LOG_VALUE(x) std::cout << #x << ": " << x << std::endl; +#define LOG_VALUE(x) std::cout << #x << ": " << (x) << std::endl; #endif