fix size_t vs int error appearing at build server

This commit is contained in:
Christian Zimmermann 2018-12-25 10:31:52 +01:00
parent 1f88bd2c58
commit 5efe52b17e

View file

@ -559,9 +559,9 @@ namespace {
res(i3,i1) = (ma2(i3,i2) - ma1(i1,i2,i3)).c(si); res(i3,i1) = (ma2(i3,i2) - ma1(i1,i2,i3)).c(si);
res2(i3,si,i1) = ma2(i3,i2) - ma1(i1,i2,i3); res2(i3,si,i1) = ma2(i3,i2) - ma1(i1,i2,i3);
EXPECT_EQ( res2.size(), 8 ); EXPECT_EQ( res2.size(), static_cast<int>(8) );
EXPECT_EQ( res2.vdata().size(), 8 ); EXPECT_EQ( res2.vdata().size(), static_cast<int>(8) );
EXPECT_EQ( MAT::rptr<1>( res2 )->size(), 2 ); EXPECT_EQ( MAT::rptr<1>( res2 )->size(), static_cast<int>(2) );
EXPECT_EQ( MAT::rptr<1>( res2 )->isMeta('1'), true ); EXPECT_EQ( MAT::rptr<1>( res2 )->isMeta('1'), true );
EXPECT_EQ( MAT::rptr<1>( res2 )->isMeta('3'), true ); EXPECT_EQ( MAT::rptr<1>( res2 )->isMeta('3'), true );