mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Use the new EIGEN_HAS_INDEX_LIST define to enable the cxx11_tensor_index_list tests
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
|
||||
#ifdef EIGEN_HAS_CONSTEXPR
|
||||
#ifdef EIGEN_HAS_INDEX_LIST
|
||||
|
||||
static void test_static_index_list()
|
||||
{
|
||||
@@ -270,7 +270,7 @@ static void test_dim_check()
|
||||
|
||||
void test_cxx11_tensor_index_list()
|
||||
{
|
||||
#ifdef EIGEN_HAS_CONSTEXPR
|
||||
#ifdef EIGEN_HAS_INDEX_LIST
|
||||
CALL_SUBTEST(test_static_index_list());
|
||||
CALL_SUBTEST(test_type2index_list());
|
||||
CALL_SUBTEST(test_dynamic_index_list());
|
||||
|
||||
Reference in New Issue
Block a user