(iter: I)
| 137 | |
| 138 | impl<E: Pairing> core::iter::Sum for EvaluationProof<E> { |
| 139 | fn sum<I: Iterator<Item = Self>>(iter: I) -> Self { |
| 140 | let zero = EvaluationProof(E::G1Affine::zero()); |
| 141 | iter.fold(zero, |x, y| x + y) |
| 142 | } |
| 143 | } |
| 144 | |
| 145 | /// Error type denoting an incorrect evaluation proof. |
no test coverage detected