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

ec/suite_b: Consistently use let {q,n} = & for moduli. #2180

Merged
merged 1 commit into from
Dec 10, 2024
Merged

Conversation

briansmith
Copy link
Owner

Modulus<M> is always passed by reference, so when it is constructed, just reference it immediately. This avoids a lot of noise, replacing &q with q and &n with n. This reduces the noise of future refactorings where q and/or n are constructed in a different place.

`Modulus<M>` is always passed by reference, so when it is constructed,
just reference it immediately. This avoids a lot of noise, replacing
`&q` with `q` and `&n` with `n`. This reduces the noise of future
refactorings where `q` and/or `n` are constructed in a different
place.
@briansmith briansmith self-assigned this Dec 10, 2024
@briansmith briansmith merged commit 3518d05 into main Dec 10, 2024
158 checks passed
@briansmith briansmith deleted the b/ref branch December 10, 2024 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant