Skip to content

Commit

Permalink
When --O2, we must apply --O2
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelis committed Oct 7, 2024
1 parent 104d984 commit e87b89f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions circom/src/input_user.rs
Original file line number Diff line number Diff line change
Expand Up @@ -263,8 +263,7 @@ mod input_processing {
else {Ok(SimplificationStyle::O2(no_rounds))}}
else { Result::Err(eprintln!("{}", Colour::Red.paint("invalid number of rounds"))) }
},

(false, false, false, true) => Ok(SimplificationStyle::O1),
(false, false, false, true) => Ok(SimplificationStyle::O2(usize::MAX)),
(false, false, false, false) => Ok(SimplificationStyle::O1),
}
}
Expand Down

0 comments on commit e87b89f

Please sign in to comment.