-
Notifications
You must be signed in to change notification settings - Fork 94
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
[kimchi] fix bugs and abstraction for permutation's shifts #193
Conversation
69b6a4c
to
ed27473
Compare
99bc99d
to
145ed61
Compare
Codecov Report
@@ Coverage Diff @@
## master #193 +/- ##
==========================================
+ Coverage 88.52% 88.67% +0.14%
==========================================
Files 73 73
Lines 17536 17593 +57
==========================================
+ Hits 15524 15600 +76
+ Misses 2012 1993 -19
Continue to review full report at Codecov.
|
&'a self, | ||
domain: EvaluationDomains<F>, | ||
gates: &Vec<CircuitGate<F>>, | ||
) -> Vec<E<F, D<F>>> { | ||
let n = domain.d1.size as usize; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would be better rename n
to domain1_size
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
agree, I renamed it in the prover code to d1_size
, I'd approve it if you do a PR to rename one-letter variables :o
… COLUMNS As we only care about the wiring of the first 7 (PERMUTS) columns, not all 15 (COLUMNS) columns.
rebased |
A few things:
cargo fmt
in CI (and format the unformatted files)(Happy to split this up in several PRs if this is a pain to review.)
It uses
std::array::IntoIter
but tomorrow, with the release Rust 2021, we'll be able to useinto_iter()
directly on arrays (see rust-lang/rust#65819 (comment) and https://blog.rust-lang.org/2021/05/11/edition-2021.html#intoiterator-for-arrays)I can fix that once #198 is merged