Skip to content

Commit

Permalink
fix(test): remove failure-triggering & superfluous as cast
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-ferdinand committed Jan 27, 2024
1 parent 75da9a1 commit d8b34e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions triton-vm/src/fri.rs
Original file line number Diff line number Diff line change
Expand Up @@ -831,8 +831,8 @@ mod tests {
#[strategy(1_usize..32)] log_2_expansion_factor: usize,
#[strategy(..#log_2_expansion_factor)] log_2_domain_length: usize,
) {
let expansion_factor = (1 << log_2_expansion_factor) as usize;
let domain_length = (1 << log_2_domain_length) as usize;
let expansion_factor = 1 << log_2_expansion_factor;
let domain_length = 1 << log_2_domain_length;
let domain = ArithmeticDomain::of_length(domain_length);
let num_collinearity_checks = 1;
let err = Fri::<Tip5>::new(domain, expansion_factor, num_collinearity_checks).unwrap_err();
Expand Down

0 comments on commit d8b34e0

Please sign in to comment.