mirror of https://github.com/zcash/halo2.git
Remove a redundant bool::from.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
7dc21f4727
commit
e408a351d5
|
@ -61,7 +61,7 @@ fn test_iso_map() {
|
|||
let p2 =
|
||||
super::hashtocurve::iso_map::<_, Affine, super::IsoEpAffine>(&r2, &Ep::ISOGENY_CONSTANTS);
|
||||
assert!(bool::from(p2.is_on_curve()));
|
||||
assert!(bool::from(p2 == p.double()));
|
||||
assert!(p2 == p.double());
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Reference in New Issue