Skip to content

Commit

Permalink
fixup! dense_mlpoly.rs: Fix bound functions
Browse files Browse the repository at this point in the history
  • Loading branch information
asn-d6 committed Sep 24, 2024
1 parent 283b76c commit 2a31345
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spartan/src/dense_mlpoly.rs
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ impl<F: PrimeField> DensePolynomial<F> {
for i in 0..n {
self.Z[i] = self.Z[i] + *r * (self.Z[i + n] - self.Z[i]);
}
self.Z.truncate(n); // Resize the vector Z to the new length
self.Z.truncate(n); // Resize the vector Z to the new length
self.num_vars -= 1;
self.len = n;
}
Expand All @@ -231,7 +231,7 @@ impl<F: PrimeField> DensePolynomial<F> {
for i in 0..n {
self.Z[i] = self.Z[2 * i] + *r * (self.Z[2 * i + 1] - self.Z[2 * i]);
}
self.Z.truncate(n); // Resize the vector Z to the new length
self.Z.truncate(n); // Resize the vector Z to the new length
self.num_vars -= 1;
self.len = n;
}
Expand Down

0 comments on commit 2a31345

Please sign in to comment.