diff --git a/barretenberg/cpp/src/barretenberg/plonk_honk_shared/composer/permutation_lib.hpp b/barretenberg/cpp/src/barretenberg/plonk_honk_shared/composer/permutation_lib.hpp index 8ae6aad831c..384a0efdb0d 100644 --- a/barretenberg/cpp/src/barretenberg/plonk_honk_shared/composer/permutation_lib.hpp +++ b/barretenberg/cpp/src/barretenberg/plonk_honk_shared/composer/permutation_lib.hpp @@ -98,7 +98,7 @@ template PermutationMapping compute_permutation_mapping( const typename Flavor::CircuitBuilder& circuit_constructor, typename Flavor::ProvingKey* proving_key, - std::vector wire_copy_cycles) + const std::vector& wire_copy_cycles) { // Initialize the table of permutations so that every element points to itself @@ -368,7 +368,7 @@ inline std::tuple, LegacyPolynomial> compute_first_and_ template void compute_permutation_argument_polynomials(const typename Flavor::CircuitBuilder& circuit, typename Flavor::ProvingKey* key, - std::vector copy_cycles) + const std::vector& copy_cycles) { constexpr bool generalized = IsUltraPlonkFlavor || IsUltraFlavor; auto mapping = compute_permutation_mapping(circuit, key, copy_cycles);