mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-08 13:23:51 +00:00
Make sure operator precedence is correct over macro invocation.
This commit is contained in:
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"); \
|
||||
|
Loading…
Reference in New Issue
Block a user