Browse Source

Handle `Fp64` related issue (#32)

fq2_neg_nonresidue
Pratyush Mishra 4 years ago
committed by GitHub
parent
commit
ae06af2448
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      curve-tests/src/fields.rs

+ 1
- 1
curve-tests/src/fields.rs

@ -227,7 +227,7 @@ pub fn from_str_test() {
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);
} }

Loading…
Cancel
Save