mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-29 15:24:51 +08:00
Fix compilation of unit tests disabling assertion cheking
This commit is contained in:
parent
458cf91cd9
commit
3cf642baa3
@ -105,7 +105,7 @@ struct CommaInitializer
|
||||
|
||||
EIGEN_DEVICE_FUNC
|
||||
inline ~CommaInitializer()
|
||||
#if defined VERIFY_RAISES_ASSERT && defined EIGEN_EXCEPTIONS
|
||||
#if defined VERIFY_RAISES_ASSERT && (!defined EIGEN_NO_ASSERTION_CHECKING) && defined EIGEN_EXCEPTIONS
|
||||
throw(Eigen::eigen_assert_exception)
|
||||
#endif
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user