Make sure operator precedence is correct over macro invocation.

This commit is contained in:
Nick Thompson 2021-04-12 13:50:27 -04:00
parent 94a32bf64c
commit 321571fabe

@ -30,7 +30,7 @@
#define VTKM_MATH_ASSERT(condition, message) \
{ \
if (!condition) \
if (!(condition)) \
{ \
VTKM_LOG_S(vtkm::cont::LogLevel::Error, \
"\n\tError at " << __FILE__ << ":" << __LINE__ << ":" << __func__ << "\n"); \