mirror of
https://github.com/saymrwulf/pasta_curves-source.git
synced 2026-09-06 20:20:34 +00:00
cargo fmt
This commit is contained in:
parent
4747112118
commit
4b960a7c0c
1 changed files with 4 additions and 2 deletions
|
|
@ -291,11 +291,13 @@ impl<'a, C: CurveAffine> Permuted<'a, C> {
|
||||||
left *= &(*gamma + permuted_table_value);
|
left *= &(*gamma + permuted_table_value);
|
||||||
|
|
||||||
let mut right = z[prev_idx];
|
let mut right = z[prev_idx];
|
||||||
let mut input_term = self.unpermuted_input_columns
|
let mut input_term = self
|
||||||
|
.unpermuted_input_columns
|
||||||
.iter()
|
.iter()
|
||||||
.fold(C::Scalar::zero(), |acc, input| acc * &*theta + &input[i]);
|
.fold(C::Scalar::zero(), |acc, input| acc * &*theta + &input[i]);
|
||||||
|
|
||||||
let mut table_term = self.unpermuted_table_columns
|
let mut table_term = self
|
||||||
|
.unpermuted_table_columns
|
||||||
.iter()
|
.iter()
|
||||||
.fold(C::Scalar::zero(), |acc, table| acc * &*theta + &table[i]);
|
.fold(C::Scalar::zero(), |acc, table| acc * &*theta + &table[i]);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue