diff options
author | Gael Guennebaud <g.gael@free.fr> | 2017-02-01 23:37:44 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2017-02-01 23:37:44 +0100 |
commit | 84090027c49638cdc0025ef1baba1855bcbcd858 (patch) | |
tree | 27c66a1b00800ae6541d9afbcc1752a2dee82866 /test/indexed_view.cpp | |
parent | 0eceea4efd47bb2a1bfb72903fbd14a5d32c5ced (diff) |
Disable a part of the unit test for gcc 4.8
Diffstat (limited to 'test/indexed_view.cpp')
-rw-r--r-- | test/indexed_view.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/indexed_view.cpp b/test/indexed_view.cpp index 909d2351d..86342dc0a 100644 --- a/test/indexed_view.cpp +++ b/test/indexed_view.cpp @@ -297,7 +297,7 @@ void check_indexed_view() VERIFY_IS_APPROX( (A(std::array<int,3>{{1,3,5}}, std::array<int,4>{{9,6,3,0}})), A(seqN(1,3,2), seqN(9,4,-3)) ); -#if (!EIGEN_COMP_CLANG) || (EIGEN_COMP_CLANG>=308 && !defined(__apple_build_version__)) +#if !( EIGEN_COMP_CLANG && ((EIGEN_COMP_CLANG<309) || defined(__apple_build_version__)) || EIGEN_COMP_GNUC_STRICT && EIGEN_COMP_GNUC<49) VERIFY_IS_APPROX( A({3, 1, 6, 5}, all), A(std::array<int,4>{{3, 1, 6, 5}}, all) ); VERIFY_IS_APPROX( A(all,{3, 1, 6, 5}), A(all,std::array<int,4>{{3, 1, 6, 5}}) ); VERIFY_IS_APPROX( A({1,3,5},{3, 1, 6, 5}), A(std::array<int,3>{{1,3,5}},std::array<int,4>{{3, 1, 6, 5}}) ); |