Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix spelling issues #144

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/fp2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ impl Fp2 {
//
// because a^2 + b^2 = 0 has no nonzero solutions for (a, b).
// This gives that (a - bu)/(a^2 + b^2) is the inverse
// of (a + bu). Importantly, this can be computing using
// of (a + bu). Importantly, this can be computed using
// only a single inversion in Fp.

(self.c0.square() + self.c1.square()).invert().map(|t| Fp2 {
Expand Down
2 changes: 1 addition & 1 deletion src/g1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -837,7 +837,7 @@ impl G1Projective {
}

// This is the inverse, as all z-coordinates are nonzero and the ones
// that are not are skipped.
// that are not being skipped.
acc = acc.invert().unwrap();

for (p, q) in p.iter().rev().zip(q.iter_mut().rev()) {
Expand Down