diff options
author | Christoph Hertzberg <chtz@informatik.uni-bremen.de> | 2018-09-21 21:15:51 +0200 |
---|---|---|
committer | Christoph Hertzberg <chtz@informatik.uni-bremen.de> | 2018-09-21 21:15:51 +0200 |
commit | e3c82890474fa3ab4b49a0c97b8b4eccce93a77a (patch) | |
tree | 388ca3cb65557c6a65b2732ebe23472d6a663d5d /test/vectorization_logic.cpp | |
parent | 4291f167eeb00d01adac7208849ef4de4a8ebae4 (diff) |
Replace unused PREDICATE by corresponding STATIC_ASSERT
Diffstat (limited to 'test/vectorization_logic.cpp')
-rw-r--r-- | test/vectorization_logic.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/vectorization_logic.cpp b/test/vectorization_logic.cpp index 8efee92a1..e2146eef3 100644 --- a/test/vectorization_logic.cpp +++ b/test/vectorization_logic.cpp @@ -37,7 +37,7 @@ using internal::demangle_unrolling; template<typename Dst, typename Src> bool test_assign(const Dst&, const Src&, int traversal, int unrolling) { - EIGEN_PREDICATE_SAME_MATRIX_SIZE(Dst,Src); + EIGEN_STATIC_ASSERT_SAME_MATRIX_SIZE(Dst,Src); typedef internal::copy_using_evaluator_traits<internal::evaluator<Dst>,internal::evaluator<Src>, internal::assign_op<typename Dst::Scalar,typename Src::Scalar> > traits; bool res = traits::Traversal==traversal; if(unrolling==InnerUnrolling+CompleteUnrolling) @@ -62,7 +62,7 @@ bool test_assign(const Dst&, const Src&, int traversal, int unrolling) template<typename Dst, typename Src> bool test_assign(int traversal, int unrolling) { - EIGEN_PREDICATE_SAME_MATRIX_SIZE(Dst,Src); + EIGEN_STATIC_ASSERT_SAME_MATRIX_SIZE(Dst,Src); typedef internal::copy_using_evaluator_traits<internal::evaluator<Dst>,internal::evaluator<Src>, internal::assign_op<typename Dst::Scalar,typename Src::Scalar> > traits; bool res = traits::Traversal==traversal && traits::Unrolling==unrolling; if(!res) |