aboutsummaryrefslogtreecommitdiff
path: root/include/armnn/utility/Assert.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/armnn/utility/Assert.hpp')
-rw-r--r--include/armnn/utility/Assert.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/armnn/utility/Assert.hpp b/include/armnn/utility/Assert.hpp
index 4d2f47b90b..455775f9b7 100644
--- a/include/armnn/utility/Assert.hpp
+++ b/include/armnn/utility/Assert.hpp
@@ -12,7 +12,7 @@ namespace armnn
#ifndef NDEBUG
# define ARMNN_ASSERT(COND) assert(COND)
-# define ARMNN_ASSERT_MSG(COND, MSG) assert(COND && MSG)
+# define ARMNN_ASSERT_MSG(COND, MSG) assert((COND) && MSG)
#else
# define ARMNN_ASSERT(COND)
# define ARMNN_ASSERT_MSG(COND, MSG)