From cbc78dbde7ddd35a9918f3590034d18cb7789d0e Mon Sep 17 00:00:00 2001 From: panhaiqi Date: Tue, 7 Mar 2023 15:47:11 -0800 Subject: [PATCH] fix c4244 --- src/core/tests/type_prop/matmul.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/tests/type_prop/matmul.cpp b/src/core/tests/type_prop/matmul.cpp index 2b423af2b9a..33500101cf1 100644 --- a/src/core/tests/type_prop/matmul.cpp +++ b/src/core/tests/type_prop/matmul.cpp @@ -550,8 +550,8 @@ TEST(type_prop, matmul_propagate_label_on_b_input_after_reshape) { const auto matmul = make_shared(a, reshape_b, false, false); const auto& output_shape = matmul->get_output_partial_shape(0); - const Element labels = get_shape_labels(output_shape); + const auto labels = get_shape_labels(output_shape); - ASSERT_THAT(labels, ElementsAre(my_label, 0, 0)); + ASSERT_THAT(labels, ElementsAre((int)my_label, 0, 0)); ASSERT_EQ(output_shape, (PartialShape{marked_dim, 5, 8})); }