mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-05-10 14:59:08 +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
|
EIGEN_DEVICE_FUNC
|
||||||
inline ~CommaInitializer()
|
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)
|
throw(Eigen::eigen_assert_exception)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user