mirror of
https://github.com/arnaucube/ark-curves-cherry-picked.git
synced 2026-01-07 14:31:34 +01:00
Handle Fp64 related issue (#32)
This commit is contained in:
@@ -227,7 +227,7 @@ pub fn from_str_test<F: PrimeField>() {
|
||||
let a = F::from_str(&ark_std::format!("{}", n))
|
||||
.map_err(|_| ())
|
||||
.unwrap();
|
||||
let b = F::from_repr(n.into()).unwrap();
|
||||
let b = F::from(n);
|
||||
|
||||
assert_eq!(a, b);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user