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

removing one more iter_mut in the denominators #977

Merged
merged 5 commits into from
Mar 16, 2024
Merged

Conversation

benjaminsavage
Copy link
Collaborator

Really minor change to remove one more iter_mut

}
*d = d.invert();
Self {
denominator: (0..u128::from(N::U64))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right. @martinthomson helped me figure out we could get this by bumping the version of typenum

Copy link

codecov bot commented Mar 16, 2024

Codecov Report

Attention: Patch coverage is 94.28571% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 89.27%. Comparing base (cf90dcc) to head (8df8f2a).

Files Patch % Lines
...rc/protocol/ipa_prf/malicious_security/lagrange.rs 94.28% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #977      +/-   ##
==========================================
- Coverage   89.34%   89.27%   -0.07%     
==========================================
  Files         161      161              
  Lines       21887    21900      +13     
==========================================
- Hits        19555    19552       -3     
- Misses       2332     2348      +16     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -149,7 +149,7 @@ tower = { version = "0.4.13", optional = true }
tower-http = { version = "0.4.0", optional = true, features = ["trace"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
typenum = "1.16"
typenum = { version = "1.17", features = ["i128"] }
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Required to unlock the N::U128 constants

@benjaminsavage benjaminsavage merged commit 3777d9f into main Mar 16, 2024
20 of 21 checks passed
@benjaminsavage benjaminsavage deleted the iter_mut_minor branch March 16, 2024 07:06
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.

2 participants