From 12e41358bb2c0287974eeed234c8a2f383be7ccf Mon Sep 17 00:00:00 2001 From: mxaddict Date: Sun, 24 Dec 2023 14:20:22 +0800 Subject: [PATCH] Fixed clang tidy issue for test/blsct/building_block/imp_inner_prod_arg_tests.cpp --- src/test/blsct/building_block/imp_inner_prod_arg_tests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/blsct/building_block/imp_inner_prod_arg_tests.cpp b/src/test/blsct/building_block/imp_inner_prod_arg_tests.cpp index f71a331f7c8e1..99af4de5a0b9e 100644 --- a/src/test/blsct/building_block/imp_inner_prod_arg_tests.cpp +++ b/src/test/blsct/building_block/imp_inner_prod_arg_tests.cpp @@ -56,7 +56,7 @@ BOOST_AUTO_TEST_CASE(test_exec_ypow_loop) std::vector act; ImpInnerProdArg::LoopWithYPows(3, y, [&](const size_t& i, const Scalar& y_pow, const Scalar& y_inv_pow) { - act.emplace_back(Scalar(i)); + act.emplace_back(i); act.emplace_back(y_pow); act.emplace_back(y_inv_pow); }