From 6811d385087cba6f8d51a2806e2002a38bca3a42 Mon Sep 17 00:00:00 2001 From: ledwards2225 Date: Wed, 2 Aug 2023 15:32:01 +0000 Subject: [PATCH] lets try that again --- .../cpp/src/barretenberg/honk/sumcheck/sumcheck_round.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 0793507dc9d..73dbaa56510 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,7 +340,9 @@ template class SumcheckProverRound { template static constexpr void add_tuples(std::tuple& tuple_1, const std::tuple& tuple_2) { - ((std::get(tuple_1) += std::get(tuple_2)), ...); + auto add_tuples_helper = [&](std::index_sequence) { ((std::get(tuple_1) += std::get(tuple_2)), ...); }; + + add_tuples_helper(std::make_index_sequence{}); } /**