Skip to content

Commit 42e733a

Browse files
committed
Fix documentation for VariableBaseMSM.
1 parent f690e31 commit 42e733a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • ec/src/msm/variable_base

ec/src/msm/variable_base/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ pub trait VariableBaseMSM:
3636

3737
/// Optimized implementation of multi-scalar multiplication.
3838
///
39-
/// Multiply the [`ScalarField::BigInt`] elements in `scalars` with the
39+
/// Multiply the [`PrimeField`] elements in `scalars` with the
4040
/// respective group elements in `bases` and sum the resulting set.
4141
///
4242
/// <section class="warning">
@@ -57,7 +57,7 @@ pub trait VariableBaseMSM:
5757
/// Performs `Self::msm`, checking that `bases` and `scalars` have the same length.
5858
/// If the length are not equal, returns an error containing the shortest legth over which msm can be performed.
5959
///
60-
/// Reference: [`VariableBase::msm`]
60+
/// Reference: [`VariableBaseMSM::msm`]
6161
fn msm_checked(bases: &[Self::MSMBase], scalars: &[Self::Scalar]) -> Result<Self, usize> {
6262
(bases.len() == scalars.len())
6363
.then(|| Self::msm(bases, scalars))

0 commit comments

Comments
 (0)