fix compilation with c++11

This commit is contained in:
Gael Guennebaud 2016-07-07 15:18:23 +02:00
parent 69378eed0b
commit 8b7431d8fd

View File

@ -39,7 +39,7 @@ static void test_fixed_size()
static void test_match()
{
Eigen::DSizes<unsigned int, 3> dyn(2,3,7);
Eigen::DSizes<unsigned int, 3> 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);