Skip to content

Commit fd172c1

Browse files
authored
Update vanishing_poly.rs
1 parent 4936e51 commit fd172c1

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/poly/domain/vanishing_poly.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,6 @@ impl<F: PrimeField> VanishingPolynomial<F> {
3838
/// Caution for use in holographic lincheck: The output has 2 entries in one
3939
/// matrix
4040
pub fn evaluate_constraints(&self, x: &FpVar<F>) -> Result<FpVar<F>, SynthesisError> {
41-
if self.dim_h == 1 {
42-
let mut cur = x.square()?;
43-
cur -= &FpVar::Constant(self.constant_term);
44-
return Ok(cur);
45-
}
46-
4741
let mut cur = x.square()?;
4842
for _ in 1..self.dim_h {
4943
cur.square_in_place()?;

0 commit comments

Comments
 (0)