From 235cf6fbe3eaa848dec4af116523efde2fdada0c Mon Sep 17 00:00:00 2001 From: Antoniu Pop Date: Tue, 28 Jun 2022 15:51:06 +0100 Subject: [PATCH] fix(unittest): fix expected result for sub_eint_int_term_to_term_broadcast --- compiler/tests/unittest/end_to_end_jit_fhelinalg.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/tests/unittest/end_to_end_jit_fhelinalg.cc b/compiler/tests/unittest/end_to_end_jit_fhelinalg.cc index cf6300486..c683f6e48 100644 --- a/compiler/tests/unittest/end_to_end_jit_fhelinalg.cc +++ b/compiler/tests/unittest/end_to_end_jit_fhelinalg.cc @@ -864,7 +864,7 @@ TEST(End2EndJit_FHELinalg, sub_eint_int_term_to_term_broadcast) { for (size_t i = 0; i < 4; i++) { for (size_t j = 0; j < 4; j++) { for (size_t k = 0; k < 4; k++) { - uint8_t expected = a1[i][0][k] - a0[0][j][k]; + uint8_t expected = a1[0][j][k] - a0[i][0][k]; EXPECT_EQ((*res)[i * 16 + j * 4 + k], (uint64_t)expected); } }