From 25884edcebc1dd45b7a30de60328292cbda93d7b Mon Sep 17 00:00:00 2001 From: ludamad Date: Wed, 11 Sep 2024 15:20:23 -0400 Subject: [PATCH] fix mac build --- .../cpp/src/barretenberg/commitment_schemes/ipa/ipa.test.cpp | 4 ++-- .../cpp/src/barretenberg/commitment_schemes/kzg/kzg.test.cpp | 4 ++-- .../commitment_schemes_recursion/shplemini.test.cpp | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/barretenberg/cpp/src/barretenberg/commitment_schemes/ipa/ipa.test.cpp b/barretenberg/cpp/src/barretenberg/commitment_schemes/ipa/ipa.test.cpp index 97f2b87b297..c8ad9c652db 100644 --- a/barretenberg/cpp/src/barretenberg/commitment_schemes/ipa/ipa.test.cpp +++ b/barretenberg/cpp/src/barretenberg/commitment_schemes/ipa/ipa.test.cpp @@ -382,9 +382,9 @@ TEST_F(IPATest, ShpleminiIPAWithShift) std::string label = "Gemini:a_" + std::to_string(l); const auto& evaluation = gemini_opening_pairs[l + 1].evaluation; prover_transcript->send_to_verifier(label, evaluation); - opening_claims.emplace_back(gemini_witnesses[l], gemini_opening_pairs[l]); + opening_claims.push_back({ gemini_witnesses[l], gemini_opening_pairs[l] }); } - opening_claims.emplace_back(gemini_witnesses[log_n], gemini_opening_pairs[log_n]); + opening_claims.push_back({ gemini_witnesses[log_n], gemini_opening_pairs[log_n] }); const auto opening_claim = ShplonkProver::prove(this->ck(), opening_claims, prover_transcript); IPA::compute_opening_proof(this->ck(), opening_claim, prover_transcript); diff --git a/barretenberg/cpp/src/barretenberg/commitment_schemes/kzg/kzg.test.cpp b/barretenberg/cpp/src/barretenberg/commitment_schemes/kzg/kzg.test.cpp index 65422a1777b..ded35bb6a42 100644 --- a/barretenberg/cpp/src/barretenberg/commitment_schemes/kzg/kzg.test.cpp +++ b/barretenberg/cpp/src/barretenberg/commitment_schemes/kzg/kzg.test.cpp @@ -250,9 +250,9 @@ TYPED_TEST(KZGTest, ShpleminiKzgWithShift) std::string label = "Gemini:a_" + std::to_string(l); const auto& evaluation = gemini_opening_pairs[l + 1].evaluation; prover_transcript->send_to_verifier(label, evaluation); - opening_claims.emplace_back(gemini_witnesses[l], gemini_opening_pairs[l]); + opening_claims.push_back({ gemini_witnesses[l], gemini_opening_pairs[l] }); } - opening_claims.emplace_back(gemini_witnesses[log_n], gemini_opening_pairs[log_n]); + opening_claims.push_back({ gemini_witnesses[log_n], gemini_opening_pairs[log_n] }); // Shplonk prover output: // - opening pair: (z_challenge, 0) diff --git a/barretenberg/cpp/src/barretenberg/commitment_schemes_recursion/shplemini.test.cpp b/barretenberg/cpp/src/barretenberg/commitment_schemes_recursion/shplemini.test.cpp index f37c2b7b49e..050a2603972 100644 --- a/barretenberg/cpp/src/barretenberg/commitment_schemes_recursion/shplemini.test.cpp +++ b/barretenberg/cpp/src/barretenberg/commitment_schemes_recursion/shplemini.test.cpp @@ -125,9 +125,9 @@ TEST(ShpleminiRecursionTest, ProveAndVerifySingle) std::string label = "Gemini:a_" + std::to_string(l); const auto& evaluation = gemini_opening_pairs[l + 1].evaluation; prover_transcript->send_to_verifier(label, evaluation); - opening_claims.emplace_back(gemini_witnesses[l], gemini_opening_pairs[l]); + opening_claims.push_back({ gemini_witnesses[l], gemini_opening_pairs[l] }); } - opening_claims.emplace_back(gemini_witnesses[log_circuit_size], gemini_opening_pairs[log_circuit_size]); + opening_claims.push_back({ gemini_witnesses[log_circuit_size], gemini_opening_pairs[log_circuit_size] }); // Shplonk prover output: // - opening pair: (z_challenge, 0)