Workaround msvc issue.

This commit is contained in:
Gael Guennebaud 2016-10-03 22:25:28 +02:00
parent be55ce03e0
commit e01d70e94e

View File

@ -70,9 +70,8 @@ void test_commainitializer()
Matrix3d m3;
Matrix4d m4;
VERIFY_RAISES_ASSERT( (m3 << 1, 2, 3, 4, 5, 6, 7, 8) );
#ifndef _MSC_VER
VERIFY_RAISES_ASSERT( (m3 << 1, 2, 3, 4, 5, 6, 7, 8) );
VERIFY_RAISES_ASSERT( (m3 << 1, 2, 3, 4, 5, 6, 7, 8, 9, 10) );
#endif
@ -100,7 +99,6 @@ void test_commainitializer()
vec[2].transpose();
VERIFY_IS_APPROX(m3, ref);
// recursively test all block-sizes from 0 to 3:
test_block_recursion<(1<<8) - 1>();
}