Skip to content
Snippets Groups Projects
Commit 2265a5e0 authored by Antonio Sánchez's avatar Antonio Sánchez Committed by Charles Schlosser
Browse files

Fix commainitializer noexcept test.

parent 619be0de
No related branches found
No related tags found
No related merge requests found
......@@ -90,7 +90,13 @@ struct CommaInitializer {
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.
* Calling finished is 100% optional. Its purpose is to write expressions
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment