Update src/backend/serial/scalar_mul/pippenger.rs

Co-Authored-By: Henry de Valence <hdevalence@hdevalence.ca>
This commit is contained in:
Oleg Andreev 2019-05-24 18:00:34 -05:00 committed by GitHub
parent 9836d6622c
commit eb82a9d8b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -122,7 +122,7 @@ impl VartimeMultiscalarMul for Pippenger {
// Iterate over pairs of (point, scalar)
// and add/sub the point to the corresponding bucket.
// Note: if we add support for precomputed lookup tables,
// we'll be adding/subtractiong point premultiplied by `digits[i]` to buckets[0].
// we'll be adding/subtracting point premultiplied by `digits[i]` to buckets[0].
for (digits, pt) in scalars_points.iter() {
let digit = digits[digit_index];
if digit > 0 {