Remove unused EIGEN_HAS_STATIC_ARRAY_TEMPLATE

ec2fd0f7 removed the EIGEN_HAS_STATIC_ARRAY_TEMPLATE but forgot to remove this
last occurrence.

This fixes issue #2399.
This commit is contained in:
David Tellenbach 2021-12-30 15:26:55 +00:00
parent d705eb5f86
commit 22a347b9d2

View File

@ -403,7 +403,6 @@ void check_indexed_view()
VERIFY( MATCH( A(all,1)(1), "101"));
}
#if EIGEN_HAS_STATIC_ARRAY_TEMPLATE
// bug #2375: indexing over matrices of dim >128 should compile on gcc
{
Matrix<double, 513, 3> large_mat = Matrix<double, 513, 3>::Random();
@ -413,7 +412,6 @@ void check_indexed_view()
for(int row = 0; row < large_mat.rows(); ++row)
VERIFY_IS_EQUAL( thin_slice(row, col), large_mat(row, col) );
}
#endif
//Bug IndexView with a single static row should be RowMajor:
{