Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.

Commit

Permalink
Rename NielsPoint as AffinePoint
Browse files Browse the repository at this point in the history
  • Loading branch information
CPerezz committed Jul 17, 2019
1 parent f050605 commit 5d2928e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/edwards.rs
Original file line number Diff line number Diff line change
Expand Up @@ -690,18 +690,18 @@ impl ProjectivePoint {
}
}

/// A `NielsPoint` represents a point on the Doppio Curve expressed
/// over the Twisted Edwards Niels Coordinates also known as
/// A `AffinePoint` represents a point on the Doppio Curve expressed
/// over the Twisted Edwards Affine Coordinates also known as
/// cartesian coordinates: (X, Y).
pub struct NielsPoint {
pub struct AffinePoint {
pub X: FieldElement,
pub Y: FieldElement
}

impl Debug for NielsPoint {
impl Debug for AffinePoint {
fn fmt(&self, f: &mut ::core::fmt::Formatter) -> ::core::fmt::Result {
write!(f, "
NielsPoint {{
AffinePoint {{
X: {:?},
Y: {:?}
}};", self.X, self.Y)
Expand Down

0 comments on commit 5d2928e

Please sign in to comment.