From 8719b9c5bc1a97e62d675c02495ed72dda6fae73 Mon Sep 17 00:00:00 2001 From: Antonio Sánchez Date: Thu, 28 May 2020 17:40:15 +0000 Subject: Disable test for 32-bit systems (e.g. ARM, i386) Both i386 and 32-bit ARM do not define __uint128_t. On most systems, if __uint128_t is defined, then so is the macro __SIZEOF_INT128__. https://stackoverflow.com/questions/18531782/how-to-know-if-uint128-t-is-defined1 --- unsupported/test/cxx11_tensor_morphing.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'unsupported/test/cxx11_tensor_morphing.cpp') diff --git a/unsupported/test/cxx11_tensor_morphing.cpp b/unsupported/test/cxx11_tensor_morphing.cpp index f01b95357..59f4c34b3 100644 --- a/unsupported/test/cxx11_tensor_morphing.cpp +++ b/unsupported/test/cxx11_tensor_morphing.cpp @@ -51,8 +51,8 @@ static void test_static_reshape() { // New dimensions: [2, 3, 7] Eigen::IndexList, type2index<3>, type2index<7>> dim; - Tensor reshaped = tensor.reshape(static_cast>(dim)); - + Tensor reshaped = tensor.reshape(static_cast>(dim)); + for (int i = 0; i < 2; ++i) { for (int j = 0; j < 3; ++j) { -- cgit v1.2.3