Skip to content

Commit

Permalink
name a duplicate in error
Browse files Browse the repository at this point in the history
  • Loading branch information
shamatar committed Apr 7, 2021
1 parent 507be64 commit 0bf27dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plonk/better_better_cs/cs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1781,7 +1781,7 @@ impl<E: Engine, P: PlonkConstraintSystemParams<E>, MG: MainGate<E>, S: Synthesis
fn add_table(&mut self, table: LookupTableApplication<E>) -> Result<Arc<LookupTableApplication<E>>, SynthesisError> {
assert!(table.applies_over().len() == 3, "only support tables of width 3");
assert!(table.can_be_combined(), "can only add tables that are combinable");
assert!(!self.known_table_ids.contains(&table.table_id()), "can not add a duplicate table");
assert!(!self.known_table_ids.contains(&table.table_id()), "can not add a duplicate table for name {}", table.functional_name());
let table_name = table.functional_name();
let table_id = table.table_id();
let number_of_entries = table.size();
Expand Down

0 comments on commit 0bf27dd

Please sign in to comment.