Skip to content

Commit b6c08c1

Browse files
Fix the definition of PairingFriendlyCycle (#217)
* Update lib.rs * Update CHANGELOG.md * Update CHANGELOG.md * Update CHANGELOG.md Co-authored-by: Pratyush Mishra <pratyushmishra@berkeley.edu> Co-authored-by: Pratyush Mishra <pratyushmishra@berkeley.edu>
1 parent a3a1ab2 commit b6c08c1

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,5 +96,6 @@ The main features of this release are:
9696
- #165 (ark-ff) Enforce in the type system that an extension fields `BaseField` extends from the correct `BasePrimeField`.
9797
- #184 Compile with `panic='abort'` in release mode, for safety of the library across FFI boundaries.
9898
- #192 Fix a bug in the assembly backend for finite field arithmetic.
99+
- #217 (ark-ec) Fix the definition of `PairingFriendlyCycle` introduced in #190.
99100

100101
## v0.1.0 (Initial release of arkworks/algebra)

ec/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -347,8 +347,8 @@ pub trait PairingFriendlyCycle: CurveCycle {
347347
>;
348348

349349
type Engine2: PairingEngine<
350-
G2Affine = Self::E2,
351-
G2Projective = <Self::E2 as AffineCurve>::Projective,
350+
G1Affine = Self::E2,
351+
G1Projective = <Self::E2 as AffineCurve>::Projective,
352352
Fq = <Self::E2 as AffineCurve>::BaseField,
353353
Fr = <Self::E2 as AffineCurve>::ScalarField,
354354
>;

0 commit comments

Comments
 (0)