Skip to content

Commit

Permalink
fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
shamatar committed Dec 17, 2021
1 parent 02bfef1 commit 205bd1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plonk/better_better_cs/cs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1896,14 +1896,14 @@ impl<E: Engine, P: PlonkConstraintSystemParams<E>, MG: MainGate<E>, S: Synthesis
}

fn ensure_sorted_table(table: &LookupTableApplication<E>) -> Vec<Vec<E::Fr>> {
let entries = single_application.get_table_values_for_polys();
let entries = table.get_table_values_for_polys();
assert_eq!(entries.len(), 3);

// sort them in a standard lexicographic way, so our sorting is always simple
let size = entries[0].len();
let mut kv_set_entries = Vec::with_capacity(size);
for i in 0..size {
let entry = KeyValueSet::new([entries[0][i], entries[1][i], entries[2][i]]);
let entry = KeyValueSet::<E>::new([entries[0][i], entries[1][i], entries[2][i]]);
kv_set_entries.push(entry)
}

Expand Down

0 comments on commit 205bd1d

Please sign in to comment.