We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8eff60e commit 869b92cCopy full SHA for 869b92c
spartan_parallel/src/unipoly.rs
@@ -86,10 +86,10 @@ impl<Scalar: SpartanExtensionField> UniPoly<Scalar> {
86
}
87
88
89
-impl<S: SpartanExtensionField> CompressedUniPoly<S> {
+impl<Scalar: SpartanExtensionField> CompressedUniPoly<Scalar> {
90
// we require eval(0) + eval(1) = hint, so we can solve for the linear term as:
91
// linear_term = hint - 2 * constant_term - deg2 term - deg3 term
92
- pub fn decompress(&self, hint: &S) -> UniPoly<S> {
+ pub fn decompress(&self, hint: &Scalar) -> UniPoly<Scalar> {
93
let mut linear_term =
94
*hint - self.coeffs_except_linear_term[0] - self.coeffs_except_linear_term[0];
95
for i in 1..self.coeffs_except_linear_term.len() {
0 commit comments