From e01d70e94e33ea09c990e9c3eb19a7d4b671a9b4 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Mon, 3 Oct 2016 22:25:28 +0200 Subject: [PATCH] Workaround msvc issue. --- test/commainitializer.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/commainitializer.cpp b/test/commainitializer.cpp index 9844adbd2..296592340 100644 --- a/test/commainitializer.cpp +++ b/test/commainitializer.cpp @@ -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>(); }