File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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) )
You can’t perform that action at this time.
0 commit comments