From 984e6d795edb57242bb78c69525f743cecc1b954 Mon Sep 17 00:00:00 2001 From: ledwards2225 Date: Wed, 2 Aug 2023 15:21:30 +0000 Subject: [PATCH] simplify gross tuple magic --- .../cpp/src/barretenberg/honk/sumcheck/sumcheck_round.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/circuits/cpp/barretenberg/cpp/src/barretenberg/honk/sumcheck/sumcheck_round.hpp b/circuits/cpp/barretenberg/cpp/src/barretenberg/honk/sumcheck/sumcheck_round.hpp index 67fb8043790e..0793507dc9dd 100644 --- a/circuits/cpp/barretenberg/cpp/src/barretenberg/honk/sumcheck/sumcheck_round.hpp +++ b/circuits/cpp/barretenberg/cpp/src/barretenberg/honk/sumcheck/sumcheck_round.hpp @@ -340,8 +340,7 @@ template class SumcheckProverRound { template static constexpr void add_tuples(std::tuple& tuple_1, const std::tuple& tuple_2) { - [&](std::index_sequence) { ((std::get(tuple_1) += std::get(tuple_2)), ...); } - (std::make_index_sequence{}); + ((std::get(tuple_1) += std::get(tuple_2)), ...); } /**