Skip to content

Commit

Permalink
Update k256/src/arithmetic/mul.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Tony Arcieri <[email protected]>
  • Loading branch information
ycscaly and tarcieri authored Nov 15, 2023
1 parent 71d27c7 commit def8340
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion k256/src/arithmetic/mul.rs
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ impl<const N: usize> LinearCombination<[(ProjectivePoint, Scalar); N]> for Proje
}

#[cfg(feature = "alloc")]
impl LinearCombination<Vec<(ProjectivePoint, Scalar)>> for ProjectivePoint {
impl LinearCombination<[(ProjectivePoint, Scalar)]> for ProjectivePoint {
fn lincomb_ext(points_and_scalars: &Vec<(ProjectivePoint, Scalar)>) -> Self {
let mut tables =
vec![(LookupTable::default(), LookupTable::default()); points_and_scalars.len()];
Expand Down

0 comments on commit def8340

Please sign in to comment.