From 0944a7e57f228170fa7cbc1e3a302851397d3d7a Mon Sep 17 00:00:00 2001 From: ledwards2225 Date: Tue, 31 Oct 2023 23:03:51 +0000 Subject: [PATCH] undo junk --- .../circuit_builder/circuit_builder_base.hpp | 2 +- .../circuit_builder/standard_circuit_builder.hpp | 8 ++++---- .../circuit_builder/ultra_circuit_builder.hpp | 10 +++++----- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/barretenberg/cpp/src/barretenberg/proof_system/circuit_builder/circuit_builder_base.hpp b/barretenberg/cpp/src/barretenberg/proof_system/circuit_builder/circuit_builder_base.hpp index b26e1bca4a04..85e8995bf879 100644 --- a/barretenberg/cpp/src/barretenberg/proof_system/circuit_builder/circuit_builder_base.hpp +++ b/barretenberg/cpp/src/barretenberg/proof_system/circuit_builder/circuit_builder_base.hpp @@ -18,7 +18,7 @@ template class CircuitBuilderBase { std::conditional_t, curve::BN254, curve::Grumpkin>; // WORKTODO: hackily defining this here in the base for now. Get acir-bberg test failure otherwise - std::array>, /* max num wires = */ 4> wires; + // std::array>, /* max num wires = */ 4> wires; size_t num_gates = 0; diff --git a/barretenberg/cpp/src/barretenberg/proof_system/circuit_builder/standard_circuit_builder.hpp b/barretenberg/cpp/src/barretenberg/proof_system/circuit_builder/standard_circuit_builder.hpp index 962c8b152402..28a2272fdc73 100644 --- a/barretenberg/cpp/src/barretenberg/proof_system/circuit_builder/standard_circuit_builder.hpp +++ b/barretenberg/cpp/src/barretenberg/proof_system/circuit_builder/standard_circuit_builder.hpp @@ -23,15 +23,15 @@ template class StandardCircuitBuilder_ : public CircuitBuilderBase static constexpr merkle::HashType merkle_hash_type = merkle::HashType::FIXED_BASE_PEDERSEN; static constexpr pedersen::CommitmentType commitment_type = pedersen::CommitmentType::FIXED_BASE_PEDERSEN; - // std::array>, NUM_WIRES> wires; + std::array>, NUM_WIRES> wires; Arithmetization selectors; using WireVector = std::vector>; using SelectorVector = std::vector>; - WireVector& w_l = std::get<0>(this->wires); - WireVector& w_r = std::get<1>(this->wires); - WireVector& w_o = std::get<2>(this->wires); + WireVector& w_l = std::get<0>(wires); + WireVector& w_r = std::get<1>(wires); + WireVector& w_o = std::get<2>(wires); SelectorVector& q_m = this->selectors.q_m(); SelectorVector& q_1 = this->selectors.q_1(); diff --git a/barretenberg/cpp/src/barretenberg/proof_system/circuit_builder/ultra_circuit_builder.hpp b/barretenberg/cpp/src/barretenberg/proof_system/circuit_builder/ultra_circuit_builder.hpp index 108cc9eda1e2..b37fcca85f6e 100644 --- a/barretenberg/cpp/src/barretenberg/proof_system/circuit_builder/ultra_circuit_builder.hpp +++ b/barretenberg/cpp/src/barretenberg/proof_system/circuit_builder/ultra_circuit_builder.hpp @@ -526,16 +526,16 @@ template class UltraCircuitBuilder_ : public CircuitBuilderBase>, NUM_WIRES> wires; + std::array>, NUM_WIRES> wires; Arithmetization selectors; using WireVector = std::vector>; using SelectorVector = std::vector>; - WireVector& w_l = std::get<0>(this->wires); - WireVector& w_r = std::get<1>(this->wires); - WireVector& w_o = std::get<2>(this->wires); - WireVector& w_4 = std::get<3>(this->wires); + WireVector& w_l = std::get<0>(wires); + WireVector& w_r = std::get<1>(wires); + WireVector& w_o = std::get<2>(wires); + WireVector& w_4 = std::get<3>(wires); SelectorVector& q_m = selectors.q_m(); SelectorVector& q_c = selectors.q_c();