diff options
author | David Tellenbach <david.tellenbach@me.com> | 2020-05-20 16:01:41 +0200 |
---|---|---|
committer | David Tellenbach <david.tellenbach@me.com> | 2020-05-20 16:04:16 +0200 |
commit | 5328cd62b37028e183208dfed295cafaedd28750 (patch) | |
tree | 83ceff2108646610fb7aeb3f7287e5b4d6e6dc2f /test/indexed_view.cpp | |
parent | cc86a31e20b48b0f03d714b4d1b1f50d52848d36 (diff) |
Guard usage of decltype since it's a C++11 feature
Diffstat (limited to 'test/indexed_view.cpp')
-rw-r--r-- | test/indexed_view.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/indexed_view.cpp b/test/indexed_view.cpp index 3ac6706ef..231f44393 100644 --- a/test/indexed_view.cpp +++ b/test/indexed_view.cpp @@ -439,11 +439,13 @@ void check_indexed_view() VERIFY( MATCH( A(all,1)(1), "101")); } +#if EIGEN_HAS_CXX11 //Bug IndexView with a single static row should be RowMajor: { // A(1, seq(0,2,1)).cwiseAbs().colwise().replicate(2).eval(); STATIC_CHECK(( (internal::evaluator<decltype( A(1,seq(0,2,1)) )>::Flags & RowMajorBit) == RowMajorBit )); } +#endif } |