Skip to content

Commit

Permalink
Fix the Add implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
FilipLaurentiu committed Jan 29, 2025
1 parent b53ca90 commit 9c0676e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/starknet-types-core/src/curve/affine_point.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ impl core::ops::Add<AffinePoint> for AffinePoint {
type Output = AffinePoint;

fn add(self, rhs: Self) -> Self::Output {
AffinePoint(self.0.operate_with_affine(&rhs.0.to_affine()))
AffinePoint(self.0.operate_with(&rhs.0))
}
}

Expand Down

0 comments on commit 9c0676e

Please sign in to comment.