Pratyush Mishra
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
2 deletions
-
cp6_782/src/curves/g1.rs
-
cp6_782/src/curves/g2.rs
|
|
@ -41,7 +41,7 @@ impl<'a> From<&'a G1Projective> for G1Prepared { |
|
|
|
|
|
|
|
impl G1Prepared {
|
|
|
|
pub fn is_zero(&self) -> bool {
|
|
|
|
self.0.is_identity()
|
|
|
|
self.0.is_zero()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@ -41,7 +41,7 @@ impl<'a> From<&'a G2Projective> for G2Prepared { |
|
|
|
|
|
|
|
impl G2Prepared {
|
|
|
|
pub fn is_zero(&self) -> bool {
|
|
|
|
self.0.is_identity()
|
|
|
|
self.0.is_zero()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|