diff --git a/barretenberg/cpp/src/barretenberg/proof_system/relations/gen_perm_sort_relation.hpp b/barretenberg/cpp/src/barretenberg/proof_system/relations/gen_perm_sort_relation.hpp index 43d498a14a1..d37b28ec651 100644 --- a/barretenberg/cpp/src/barretenberg/proof_system/relations/gen_perm_sort_relation.hpp +++ b/barretenberg/cpp/src/barretenberg/proof_system/relations/gen_perm_sort_relation.hpp @@ -152,8 +152,8 @@ template class GoblinTranslatorGenPermSortRelationImpl { static const FF minus_one = FF(-1); static const FF minus_two = FF(-2); static const FF minus_three = FF(-3); - - static const auto maximum_sort_value = -FF((1 << 14) - 1); + static const size_t micro_limb_bits = 14; + static const auto maximum_sort_value = -FF((1 << micro_limb_bits) - 1); // Compute wire differences auto delta_1 = ordered_range_constraints_0_shift - ordered_range_constraints_0; auto delta_2 = ordered_range_constraints_1_shift - ordered_range_constraints_1;