mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Require recent GCC and MSCV and removed EIGEN_HAS_CXX14 and some other feature test macros
This commit is contained in:
committed by
Rasmus Munk Larsen
parent
085c2fc5d5
commit
ec2fd0f7ed
@@ -91,15 +91,7 @@ static void test_vectorized_broadcasting()
|
||||
}
|
||||
}
|
||||
|
||||
#if EIGEN_HAS_VARIADIC_TEMPLATES
|
||||
tensor.resize(11,3,5);
|
||||
#else
|
||||
array<Index, 3> new_dims;
|
||||
new_dims[0] = 11;
|
||||
new_dims[1] = 3;
|
||||
new_dims[2] = 5;
|
||||
tensor.resize(new_dims);
|
||||
#endif
|
||||
|
||||
tensor.setRandom();
|
||||
broadcast = tensor.broadcast(broadcasts);
|
||||
@@ -148,15 +140,7 @@ static void test_static_broadcasting()
|
||||
}
|
||||
}
|
||||
|
||||
#if EIGEN_HAS_VARIADIC_TEMPLATES
|
||||
tensor.resize(11,3,5);
|
||||
#else
|
||||
array<Index, 3> new_dims;
|
||||
new_dims[0] = 11;
|
||||
new_dims[1] = 3;
|
||||
new_dims[2] = 5;
|
||||
tensor.resize(new_dims);
|
||||
#endif
|
||||
|
||||
tensor.setRandom();
|
||||
broadcast = tensor.broadcast(broadcasts);
|
||||
|
||||
Reference in New Issue
Block a user