mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-29 23:34:12 +08:00
Fix commainitializer noexcept test.
This commit is contained in:
parent
619be0deb6
commit
2265a5e025
@ -90,7 +90,13 @@ struct CommaInitializer {
|
|||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
EIGEN_DEVICE_FUNC inline ~CommaInitializer() { finished(); }
|
EIGEN_DEVICE_FUNC inline ~CommaInitializer()
|
||||||
|
#if defined VERIFY_RAISES_ASSERT && (!defined EIGEN_NO_ASSERTION_CHECKING) && defined EIGEN_EXCEPTIONS
|
||||||
|
noexcept(false) // Eigen::eigen_assert_exception
|
||||||
|
#endif
|
||||||
|
{
|
||||||
|
finished();
|
||||||
|
}
|
||||||
|
|
||||||
/** \returns the built matrix once all its coefficients have been set.
|
/** \returns the built matrix once all its coefficients have been set.
|
||||||
* Calling finished is 100% optional. Its purpose is to write expressions
|
* Calling finished is 100% optional. Its purpose is to write expressions
|
||||||
|
Loading…
x
Reference in New Issue
Block a user