From 22a347b9d2ee8321543e3b15673e1dd1d5456d4e Mon Sep 17 00:00:00 2001 From: David Tellenbach Date: Thu, 30 Dec 2021 15:26:55 +0000 Subject: [PATCH] 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. --- test/indexed_view.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/indexed_view.cpp b/test/indexed_view.cpp index d8a553239..864d8b009 100644 --- a/test/indexed_view.cpp +++ b/test/indexed_view.cpp @@ -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 large_mat = Matrix::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: {