mirror of
https://github.com/arnaucube/ark-curves-cherry-picked.git
synced 2026-01-23 12:13:48 +01:00
is_identity -> is_zero (#125)
This commit is contained in:
@@ -41,7 +41,7 @@ impl<'a> From<&'a G1Projective> for G1Prepared {
|
|||||||
|
|
||||||
impl G1Prepared {
|
impl G1Prepared {
|
||||||
pub fn is_zero(&self) -> bool {
|
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 {
|
impl G2Prepared {
|
||||||
pub fn is_zero(&self) -> bool {
|
pub fn is_zero(&self) -> bool {
|
||||||
self.0.is_identity()
|
self.0.is_zero()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user