Skip to content

Commit 4087b0c

Browse files
authored
fix: Fix incorrect switch inside the field fuzzer (#16440)
This pr fixes a faulty `switch` statement in `stdlib_primitives_field_fuzzer`
2 parents 8b10b2b + 1ed2612 commit 4087b0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

barretenberg/cpp/src/barretenberg/stdlib/primitives/field/field.fuzzer.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -916,7 +916,7 @@ template <typename Builder> class FieldBase {
916916
{
917917
(void)builder;
918918

919-
switch (VarianceRNG.next() % 9) {
919+
switch (VarianceRNG.next() % 8) {
920920
case 0:
921921
#ifdef FUZZING_SHOW_INFORMATION
922922
std::cout << "Construct via field_t" << std::endl;

0 commit comments

Comments
 (0)