@@ -321,8 +321,8 @@ impl<S: SpartanExtensionField> PolyEvalProof<S> {
321321
322322 pub fn prove (
323323 poly : & DensePolynomial < S > ,
324- r : & [ S ] , // point at which the polynomial is evaluated
325- _Zr : & S , // evaluation of \widetilde{Z}(r)
324+ r : & [ S ] , // point at which the polynomial is evaluated
325+ _Zr : & S , // evaluation of \widetilde{Z}(r)
326326 transcript : & mut Transcript ,
327327 _random_tape : & mut RandomTape < S > ,
328328 ) -> PolyEvalProof < S > {
@@ -383,8 +383,8 @@ impl<S: SpartanExtensionField> PolyEvalProof<S> {
383383 // Evaluation of multiple points on the same instance
384384 pub fn prove_batched_points (
385385 poly : & DensePolynomial < S > ,
386- r_list : Vec < Vec < S > > , // point at which the polynomial is evaluated
387- Zr_list : Vec < S > , // evaluation of \widetilde{Z}(r) on each point
386+ r_list : Vec < Vec < S > > , // point at which the polynomial is evaluated
387+ Zr_list : Vec < S > , // evaluation of \widetilde{Z}(r) on each point
388388 transcript : & mut Transcript ,
389389 _random_tape : & mut RandomTape < S > ,
390390 ) -> Vec < PolyEvalProof < S > > {
@@ -440,7 +440,7 @@ impl<S: SpartanExtensionField> PolyEvalProof<S> {
440440 // compute vector-matrix product between L and Z viewed as a matrix
441441 let LZ = poly. bound ( L ) ;
442442
443- proof_list. push ( PolyEvalProof { v : LZ } ) ;
443+ proof_list. push ( PolyEvalProof { v : LZ } ) ;
444444 }
445445
446446 proof_list
@@ -497,8 +497,8 @@ impl<S: SpartanExtensionField> PolyEvalProof<S> {
497497 // Size of each instance might be different, but all are larger than the evaluation point
498498 pub fn prove_batched_instances (
499499 poly_list : & Vec < DensePolynomial < S > > , // list of instances
500- r_list : Vec < & Vec < S > > , // point at which the polynomial is evaluated
501- Zr_list : & Vec < S > , // evaluation of \widetilde{Z}(r) on each instance
500+ r_list : Vec < & Vec < S > > , // point at which the polynomial is evaluated
501+ Zr_list : & Vec < S > , // evaluation of \widetilde{Z}(r) on each instance
502502 transcript : & mut Transcript ,
503503 _random_tape : & mut RandomTape < S > ,
504504 ) -> Vec < PolyEvalProof < S > > {
@@ -563,7 +563,7 @@ impl<S: SpartanExtensionField> PolyEvalProof<S> {
563563 for v in LZ_list . into_iter ( ) {
564564 proof_list. push ( PolyEvalProof { v } ) ;
565565 }
566-
566+
567567 proof_list
568568 }
569569
@@ -698,7 +698,7 @@ impl<S: SpartanExtensionField> PolyEvalProof<S> {
698698
699699 let mut proof_list = Vec :: new ( ) ;
700700 for v in LZ_list . into_iter ( ) {
701- proof_list. push ( PolyEvalProof { v } ) ;
701+ proof_list. push ( PolyEvalProof { v } ) ;
702702 }
703703
704704 proof_list
0 commit comments