Skip to content

Commit

Permalink
fix: clippy error resolved
Browse files Browse the repository at this point in the history
Signed-off-by: Abinand P <[email protected]>
  • Loading branch information
Abiji-2020 committed Oct 20, 2024
1 parent 48990ab commit f25ceaa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ fn interpolate_uni_poly_gives_correct_value_for_known_evaluation() {
];
for i in 0..evaluations.len() {
assert_eq!(
interpolate_uni_poly(&evaluations, TestScalar::from(i as u32)),
interpolate_uni_poly(&evaluations, TestScalar::from(u32::try_from(i).unwrap())),
evaluations[i]
);
}
Expand Down

0 comments on commit f25ceaa

Please sign in to comment.