`is_identity` -> `is_zero` (#125)
Pratyush Mishra pratyushmishra@berkeley.edu
Fri, 09 Sep 2022 11:07:42 -0700
2 files changed,
2 insertions(+),
2 deletions(-)
M
cp6_782/src/curves/g1.rs
→
cp6_782/src/curves/g1.rs
@@ -41,7 +41,7 @@ }
impl G1Prepared { pub fn is_zero(&self) -> bool { - self.0.is_identity() + self.0.is_zero() } }
M
cp6_782/src/curves/g2.rs
→
cp6_782/src/curves/g2.rs
@@ -41,7 +41,7 @@ }
impl G2Prepared { pub fn is_zero(&self) -> bool { - self.0.is_identity() + self.0.is_zero() } }