aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/util/Macros.h
diff options
context:
space:
mode:
authorGravatar Antonio Sanchez <cantonios@google.com>2021-01-06 13:14:20 -0800
committerGravatar Antonio Sanchez <cantonios@google.com>2021-01-06 13:14:20 -0800
commit52d1dd979af688fbf67c34860527b3a4295b7936 (patch)
tree07ac335c1d7905313424fba531b3495cbe50bdf0 /Eigen/src/Core/util/Macros.h
parent166fcdecdb9178fe7f3eea38f67fb3f5848a4ae2 (diff)
Fix Ref initialization.
Since `eigen_assert` is a macro, the statements can become noops (e.g. when compiling for GPU), so they may not execute the contained logic -- which in this case is the entire `Ref` construction. We need to separate the assert from statements which have consequences. Fixes #2113
Diffstat (limited to 'Eigen/src/Core/util/Macros.h')
0 files changed, 0 insertions, 0 deletions