Skip to content

Commit

Permalink
Remove debug block
Browse files Browse the repository at this point in the history
  • Loading branch information
darth-cy committed Feb 12, 2025
1 parent 3b6955e commit aaa997a
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions spartan_parallel/src/custom_dense_mlpoly.rs
Original file line number Diff line number Diff line change
Expand Up @@ -365,32 +365,4 @@ impl<E: ExtensionField> DensePolynomialPqx<E> {
cl.bound_poly_vars_rp(rp_rev);
return cl.index(0, 0, 0, 0);
}

// _debug
// // Convert to a (p, q_rev, x_rev) regular dense poly of form (p, q, x)
// pub fn to_dense_poly(&self) -> DensePolynomial<E> {
// let ZERO = E::ZERO;

// let p_space = self.num_vars_p.pow2();
// let q_space = self.num_vars_q.pow2();
// let w_space = self.num_vars_w.pow2();
// let x_space = self.num_vars_x.pow2();

// let mut Z_poly = vec![ZERO; p_space * q_space * w_space * x_space];
// for p in 0..self.num_instances {
// for q in 0..self.num_proofs[p] {
// for w in 0..self.num_witness_secs {
// for x in 0..self.num_inputs[p][w] {
// Z_poly[
// p * q_space * w_space * x_space
// + q * w_space * x_space
// + w * x_space
// + x
// ] = self.Z[p][q][w][x];
// }
// }
// }
// }
// DensePolynomial::new(Z_poly)
// }
}

0 comments on commit aaa997a

Please sign in to comment.