diff --git a/cpp/src/barretenberg/proof_system/flavor/flavor.hpp b/cpp/src/barretenberg/proof_system/flavor/flavor.hpp index d83167a2ac..a1a5de286d 100644 --- a/cpp/src/barretenberg/proof_system/flavor/flavor.hpp +++ b/cpp/src/barretenberg/proof_system/flavor/flavor.hpp @@ -72,7 +72,7 @@ class Standard { class ProvingKey : public PrecomputedData { public: const size_t circuit_size; - const size_t log_circuit_size = 0; // TODO(Cody) + const size_t log_circuit_size; // TODO(Cody) const size_t num_public_inputs; std::shared_ptr crs; EvaluationDomain evaluation_domain; @@ -83,6 +83,7 @@ class Standard { std::shared_ptr const& crs, ComposerType composer_type) : circuit_size(circuit_size) + , log_circuit_size(numeric::get_msb(circuit_size)) , num_public_inputs(num_public_inputs) , crs(crs) , evaluation_domain(circuit_size, circuit_size)