From f25ceaaf929175300fffae6735f5ee02c0efdeeb Mon Sep 17 00:00:00 2001 From: Abinand P Date: Sun, 20 Oct 2024 05:57:07 +0530 Subject: [PATCH] fix: clippy error resolved Signed-off-by: Abinand P --- crates/proof-of-sql/src/base/polynomial/interpolate_test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/proof-of-sql/src/base/polynomial/interpolate_test.rs b/crates/proof-of-sql/src/base/polynomial/interpolate_test.rs index 4921489d4..eaf246a02 100644 --- a/crates/proof-of-sql/src/base/polynomial/interpolate_test.rs +++ b/crates/proof-of-sql/src/base/polynomial/interpolate_test.rs @@ -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] ); }