Skip to content

Commit 917a011

Browse files
committed
fix no-std
1 parent 07699b5 commit 917a011

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/group/msm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ impl<G: PrimeGroup> VariableMultiScalarMul for G {
7676

7777
/// A naive MSM implementation.
7878
fn msm_naive<G: PrimeGroup>(bases: &[G], scalars: &[G::Scalar]) -> G {
79-
std::iter::zip(bases, scalars).map(|(g, x)| *g * x).sum()
79+
core::iter::zip(bases, scalars).map(|(g, x)| *g * x).sum()
8080
}
8181

8282
/// An MSM implementation that employ's Pippenger's algorithm and works for all groups that

0 commit comments

Comments
 (0)