Merge pull request #183 from zcash/fix-ci

Downgrade to funty 1.1.0 to fix CI
This commit is contained in:
ebfull 2021-02-14 09:37:10 -07:00 committed by GitHub
commit 55122e5161
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 2 deletions

View file

@ -48,6 +48,9 @@ blake2b_simd = "0.5"
lazy_static = "1.4.0"
static_assertions = "1.1.0"
# Temporary workaround for https://github.com/myrrlyn/funty/issues/3
funty = "=1.1.0"
# Developer tooling dependencies
plotters = { version = "0.3.0", optional = true }
tabbycat = { version = "0.1", features = ["attributes"], optional = true }

View file

@ -291,11 +291,13 @@ impl<'a, C: CurveAffine> Permuted<'a, C> {
left *= &(*gamma + permuted_table_value);
let mut right = z[prev_idx];
let mut input_term = self.unpermuted_input_columns
let mut input_term = self
.unpermuted_input_columns
.iter()
.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()
.fold(C::Scalar::zero(), |acc, table| acc * &*theta + &table[i]);