From 775766d175f52d4aa86268c6e6ff43cee374a56a Mon Sep 17 00:00:00 2001 From: Christoph Hertzberg Date: Sun, 15 Apr 2018 18:43:56 +0200 Subject: Add parenthesis to fix compiler warnings --- test/main.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/main.h b/test/main.h index 14f4e3e7a..0fcd6cb76 100644 --- a/test/main.h +++ b/test/main.h @@ -265,7 +265,7 @@ namespace Eigen { \ Eigen::no_more_assert = true; \ if(report_on_cerr_on_assert_failure) \ - eigen_plain_assert(a && #MSG); \ + eigen_plain_assert((a) && #MSG); \ else \ EIGEN_THROW_X(Eigen::eigen_static_assert_exception()); \ } -- cgit v1.2.3