From 8ec2dd70a610e54388f8963bf153aab2a721e5e5 Mon Sep 17 00:00:00 2001 From: Maddiaa <47148561+Maddiaa0@users.noreply.github.com> Date: Tue, 28 May 2024 12:07:28 +0100 Subject: [PATCH] chore: make points vector const (#66) --- bberg/src/verifier_builder.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bberg/src/verifier_builder.rs b/bberg/src/verifier_builder.rs index 32f901a1ed..904dd29ada 100644 --- a/bberg/src/verifier_builder.rs +++ b/bberg/src/verifier_builder.rs @@ -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 points, const size_t circuit_size, std::vector challenges) {{ + [[maybe_unused]] inline FF evaluate_public_input_column(const std::vector& points, const size_t circuit_size, std::vector 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.