Skip to content

Commit

Permalink
Update gfp12.go
Browse files Browse the repository at this point in the history
fix simple bug in gfp12.MulScalar
  • Loading branch information
BrandonKoerner authored and armfazh committed Jun 9, 2023
1 parent 614f500 commit 33e0c56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gfp12.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ func (e *gfP12) Mul(a, b *gfP12) *gfP12 {
}

func (e *gfP12) MulScalar(a *gfP12, b *gfP6) *gfP12 {
e.x.Mul(&e.x, b)
e.y.Mul(&e.y, b)
e.x.Mul(&a.x, b)
e.y.Mul(&a.y, b)
return e
}

Expand Down

0 comments on commit 33e0c56

Please sign in to comment.