Skip to content

Commit 036fc95

Browse files
committed
Fix the test case for hdf.
MatSize::operator()() supports only 2-d matrices.
1 parent 344f842 commit 036fc95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/hdf/test/test_hdf5.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ TEST_F(HDF5_Test, test_attribute_InutArray_OutputArray_2d)
350350
double diff = norm(attr_value - expected_attr_value);
351351
EXPECT_NEAR(diff, 0, 1e-6);
352352

353-
EXPECT_EQ(attr_value.size(), expected_attr_value.size());
353+
EXPECT_EQ(attr_value.size, expected_attr_value.size);
354354
EXPECT_EQ(attr_value.type(), expected_attr_value.type());
355355
}
356356

0 commit comments

Comments
 (0)