Derive Eq trait for Point

This commit is contained in:
Ahmad
2024-11-27 11:22:22 +10:00
parent 1b990cc794
commit 39296e6e7d

View File

@@ -148,7 +148,7 @@ impl PointProjective {
} }
} }
#[derive(Clone, Debug)] #[derive(Clone, Debug, PartialEq, Eq)]
pub struct Point { pub struct Point {
pub x: Fq, pub x: Fq,
pub y: Fq, pub y: Fq,