From 55f843cd073075d673dcc6c2bc75c2e2d1879e6e Mon Sep 17 00:00:00 2001 From: Andi Drebes Date: Mon, 3 Oct 2022 11:43:52 +0200 Subject: [PATCH] test(compiler): Fix comparison of ints with different signedness in unit test lib --- .../tests/unit_tests/concretelang/TestLib/testlib_unit_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/tests/unit_tests/concretelang/TestLib/testlib_unit_test.cpp b/compiler/tests/unit_tests/concretelang/TestLib/testlib_unit_test.cpp index d27157e36..4392f17be 100644 --- a/compiler/tests/unit_tests/concretelang/TestLib/testlib_unit_test.cpp +++ b/compiler/tests/unit_tests/concretelang/TestLib/testlib_unit_test.cpp @@ -154,7 +154,7 @@ func.func @main(%arg0: !FHE.eint<7>, %arg1: !FHE.eint<7>) -> !FHE.eint<7> { continue; } auto res = lambda.call(a, b); - ASSERT_EQ_OUTCOME(res, (int64_t)a + b); + ASSERT_EQ_OUTCOME(res, a + b); } }