Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicole authored and Nicole committed Oct 30, 2024
1 parent a7161f2 commit b88794f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions math/src/circle/cfft.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@ mod tests {
fn ordering_cfft_result_works_for_4_points() {
let expected_slice = [FE::from(0), FE::from(1), FE::from(2), FE::from(3)];

let mut slice = [FE::from(0), FE::from(2), FE::from(3), FE::from(1)];
let slice = [FE::from(0), FE::from(2), FE::from(3), FE::from(1)];

let res = order_cfft_result_naive(&mut slice);
let res = order_cfft_result_naive(&slice);

assert_eq!(res, expected_slice)
}
Expand All @@ -149,7 +149,7 @@ mod tests {
FE::from(15),
];

let mut slice = [
let slice = [
FE::from(0),
FE::from(2),
FE::from(4),
Expand All @@ -168,7 +168,7 @@ mod tests {
FE::from(1),
];

let res = order_cfft_result_naive(&mut slice);
let res = order_cfft_result_naive(&slice);

assert_eq!(res, expected_slice)
}
Expand Down

0 comments on commit b88794f

Please sign in to comment.