You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found myself in a pickle when trying to generalize over both ProjectivePoint and AffinePoint.
Currently Group and PrimeCurveAffine have identity() and is_identity(), but there is no trait that can be implemented on both point types that provides access to this functionality.
So I would like to propose adding a new trait Identity and refactor identity() and is_identity() into it.
Happy to make the PR upon approval.
The text was updated successfully, but these errors were encountered:
I found myself in a pickle when trying to generalize over both
ProjectivePoint
andAffinePoint
.Currently
Group
andPrimeCurveAffine
haveidentity()
andis_identity()
, but there is no trait that can be implemented on both point types that provides access to this functionality.So I would like to propose adding a new trait
Identity
and refactoridentity()
andis_identity()
into it.Happy to make the PR upon approval.
The text was updated successfully, but these errors were encountered: