mirror of
https://github.com/arnaucube/ark-curves-cherry-picked.git
synced 2026-01-08 15:01:29 +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))
|
let a = F::from_str(&ark_std::format!("{}", n))
|
||||||
.map_err(|_| ())
|
.map_err(|_| ())
|
||||||
.unwrap();
|
.unwrap();
|
||||||
let b = F::from_repr(n.into()).unwrap();
|
let b = F::from(n);
|
||||||
|
|
||||||
assert_eq!(a, b);
|
assert_eq!(a, b);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user