Skip to content

Commit 869b92c

Browse files
Minimise diff
1 parent 8eff60e commit 869b92c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spartan_parallel/src/unipoly.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,10 @@ impl<Scalar: SpartanExtensionField> UniPoly<Scalar> {
8686
}
8787
}
8888

89-
impl<S: SpartanExtensionField> CompressedUniPoly<S> {
89+
impl<Scalar: SpartanExtensionField> CompressedUniPoly<Scalar> {
9090
// we require eval(0) + eval(1) = hint, so we can solve for the linear term as:
9191
// linear_term = hint - 2 * constant_term - deg2 term - deg3 term
92-
pub fn decompress(&self, hint: &S) -> UniPoly<S> {
92+
pub fn decompress(&self, hint: &Scalar) -> UniPoly<Scalar> {
9393
let mut linear_term =
9494
*hint - self.coeffs_except_linear_term[0] - self.coeffs_except_linear_term[0];
9595
for i in 1..self.coeffs_except_linear_term.len() {

0 commit comments

Comments
 (0)