From 8b7431d8fdd239d5734398feee49cb4530a29ea0 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Thu, 7 Jul 2016 15:18:23 +0200 Subject: [PATCH] fix compilation with c++11 --- unsupported/test/cxx11_tensor_dimension.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unsupported/test/cxx11_tensor_dimension.cpp b/unsupported/test/cxx11_tensor_dimension.cpp index 508c2fd37..16f168ed4 100644 --- a/unsupported/test/cxx11_tensor_dimension.cpp +++ b/unsupported/test/cxx11_tensor_dimension.cpp @@ -39,7 +39,7 @@ static void test_fixed_size() static void test_match() { - Eigen::DSizes dyn(2,3,7); + Eigen::DSizes dyn((unsigned int)2,(unsigned int)3,(unsigned int)7); Eigen::Sizes<2,3,7> stat; VERIFY_IS_EQUAL(Eigen::dimensions_match(dyn, stat), true);