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

Commit

Permalink
remove unused
Browse files Browse the repository at this point in the history
  • Loading branch information
jae-cuz committed Sep 18, 2023
1 parent 77dfed1 commit c41b0bc
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/plonkish/backend/plaf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -336,13 +336,10 @@ impl<F: PrimeField> PlafInstance<F> for PlafH2Circuit {
for copy in &self.plaf.copys {
let (left_col, right_col) = &copy.columns;

let (witness_col, _, offsets) = match (left_col.kind, right_col.kind) {
(ColumnKind::Witness, ColumnKind::Public) => {
(left_col, right_col, copy.offsets.clone())
}
let (witness_col, offsets) = match (left_col.kind, right_col.kind) {
(ColumnKind::Witness, ColumnKind::Public) => (left_col, copy.offsets.clone()),
(ColumnKind::Public, ColumnKind::Witness) => (
right_col,
left_col,
copy.offsets.iter().map(|(l, r)| (*r, *l)).collect(),
),
_ => continue,
Expand Down

0 comments on commit c41b0bc

Please sign in to comment.