Skip to content

Commit

Permalink
Update ec/src/msm/variable_base/mod.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
Pratyush authored Mar 17, 2022
1 parent 2cc3ef9 commit 7e6333f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ec/src/msm/variable_base/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ impl VariableBase {
// TODO: change `skip` to `advance_by` once rust-lang/rust#7774 is fixed.
// See <https://github.com/rust-lang/rust/issues/77404>
let mut bases = bases_init.skip(bases_stream.len() - scalars_stream.len());
// .expect("bases not long enough");
let step: usize = 1 << 20;
let mut result = G::Projective::zero();
for _ in 0..(scalars_stream.len() + step - 1) / step {
Expand Down

0 comments on commit 7e6333f

Please sign in to comment.