Skip to content

Commit

Permalink
chore: make points vector const
Browse files Browse the repository at this point in the history
  • Loading branch information
Maddiaa0 committed May 28, 2024
1 parent efa0b65 commit cf9aad4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bberg/src/verifier_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ impl VerifierBuilder for BBFiles {
using FF = {name}Flavor::FF;
// Evaluate the given public input column over the multivariate challenge points
[[maybe_unused]] inline FF evaluate_public_input_column(std::vector<FF> points, const size_t circuit_size, std::vector<FF> challenges) {{
[[maybe_unused]] inline FF evaluate_public_input_column(const std::vector<FF>& points, const size_t circuit_size, std::vector<FF> challenges) {{
// TODO(https://github.com/AztecProtocol/aztec-packages/issues/6361): we pad the points to the circuit size in order to get the correct evaluation.
// This is not efficient, and will not be valid in production.
Expand Down

0 comments on commit cf9aad4

Please sign in to comment.