Skip to content

Commit

Permalink
Merge branch 'circle-starks' of github.com:lambdaclass/lambdaworks in…
Browse files Browse the repository at this point in the history
…to circle-starks
  • Loading branch information
Nicole authored and Nicole committed Oct 30, 2024
2 parents c00a223 + a045516 commit 9ff3233
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion math/src/circle/point.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ impl<F: IsField + HasCircleParams<F>> Add<&CirclePoint<F>> for CirclePoint<F> {
impl<F: IsField + HasCircleParams<F>> Mul<u128> for CirclePoint<F> {
type Output = CirclePoint<F>;

fn mul(self, mut scalar: u128) -> Self {
fn mul(self, scalar: u128) -> Self {
let mut scalar = scalar;
let mut res = Self::zero();
let mut cur = self;
loop {
Expand Down

0 comments on commit 9ff3233

Please sign in to comment.