From cde5db2981d12a6cf93c267f092cc6891c3153fb 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 0793507dc9dd..73dbaa565108 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{}); } /**