Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
enable copy
Browse files Browse the repository at this point in the history
  • Loading branch information
ChihChengLiang committed Dec 16, 2021
1 parent 281e1f4 commit 0cb7976
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion keccak256/src/gates/pi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ pub struct PiConfig<F> {
impl<F: FieldExt> PiConfig<F> {
pub fn configure(meta: &mut ConstraintSystem<F>) -> Self {
let state: [Column<Advice>; 25] = (0..25)
.map(|_| meta.advice_column())
.map(|_| {
let col = meta.advice_column();
meta.enable_equality(col.into());
col
})
.collect::<Vec<_>>()
.try_into()
.unwrap();
Expand Down

0 comments on commit 0cb7976

Please sign in to comment.