Skip to content

Commit

Permalink
set log_circuit_size in pk
Browse files Browse the repository at this point in the history
  • Loading branch information
codygunton committed Apr 11, 2023
1 parent 3dea274 commit 953b23a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cpp/src/barretenberg/proof_system/flavor/flavor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class Standard {
class ProvingKey : public PrecomputedData<Polynomial> {
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<ProverReferenceString> crs;
EvaluationDomain<FF> evaluation_domain;
Expand All @@ -83,6 +83,7 @@ class Standard {
std::shared_ptr<ProverReferenceString> 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)
Expand Down

0 comments on commit 953b23a

Please sign in to comment.