mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Clean up EIGEN_STATIC_ASSERT to only use standard c++11 static_assert.
This commit is contained in:
@@ -251,10 +251,7 @@ public:
|
||||
|
||||
protected:
|
||||
|
||||
static void check_template_parameters()
|
||||
{
|
||||
EIGEN_STATIC_ASSERT_NON_INTEGER(Scalar);
|
||||
}
|
||||
EIGEN_STATIC_ASSERT_NON_INTEGER(Scalar)
|
||||
|
||||
void _check_compute_assertions() const {
|
||||
eigen_assert(m_isInitialized && "SVD is not initialized.");
|
||||
@@ -297,9 +294,7 @@ protected:
|
||||
m_computeThinV(false),
|
||||
m_computationOptions(0),
|
||||
m_rows(-1), m_cols(-1), m_diagSize(0)
|
||||
{
|
||||
check_template_parameters();
|
||||
}
|
||||
{ }
|
||||
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user