Skip to content

Commit

Permalink
add missing dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
kilic committed Jan 24, 2024
1 parent 42f8a36 commit e4cb0fd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/msm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ use crate::CurveAffine;
use ff::Field;
use ff::PrimeField;
use group::Group;
use rayon::iter::{IndexedParallelIterator, IntoParallelRefMutIterator, ParallelIterator};
use rayon::iter::{
IndexedParallelIterator, IntoParallelRefIterator, IntoParallelRefMutIterator, ParallelIterator,
};

fn get_booth_index(window_index: usize, window_size: usize, el: &[u8]) -> i32 {
// Booth encoding:
Expand Down Expand Up @@ -81,7 +83,7 @@ fn batch_add<C: CurveAffine>(
acc *= *z;
}

acc = acc.invert().expect(":(");
acc = acc.invert().unwrap();

for (
(
Expand Down

0 comments on commit e4cb0fd

Please sign in to comment.