Skip to content

Commit

Permalink
easy changes
Browse files Browse the repository at this point in the history
  • Loading branch information
TakodaS committed Sep 20, 2023
1 parent 0e07083 commit f03a658
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/ahp/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ mod tests {
divisor
.coeffs
.iter()
.filter_map(|f| if !f.is_zero() { Some(f) } else { None })
.filter(|f| !f.is_zero())
.collect::<Vec<_>>()
);

Expand Down Expand Up @@ -442,7 +442,7 @@ mod tests {
quotient
.coeffs
.iter()
.filter_map(|f| if !f.is_zero() { Some(f) } else { None })
.filter(|f| !f.is_zero())
.collect::<Vec<_>>()
);

Expand Down
3 changes: 0 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,6 @@ impl<F: PrimeField, PC: PolynomialCommitment<F, DensePolynomial<F>, S>, S: Defau
.map_err(Error::from_pc_err)?;
end_timer!(first_round_comm_time);
let fcinput = first_comms
.clone()
.iter()
.map(|p| p.commitment().clone())
.collect::<Vec<_>>();
Expand All @@ -232,7 +231,6 @@ impl<F: PrimeField, PC: PolynomialCommitment<F, DensePolynomial<F>, S>, S: Defau
end_timer!(second_round_comm_time);

let scinput = second_comms
.clone()
.iter()
.map(|p| p.commitment().clone())
.collect::<Vec<_>>();
Expand All @@ -257,7 +255,6 @@ impl<F: PrimeField, PC: PolynomialCommitment<F, DensePolynomial<F>, S>, S: Defau
end_timer!(third_round_comm_time);

let tcinput = third_comms
.clone()
.iter()
.map(|p| p.commitment().clone())
.collect::<Vec<_>>();
Expand Down

0 comments on commit f03a658

Please sign in to comment.