Skip to content

Commit

Permalink
Update math/src/circle/point.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Ivan Litteri <[email protected]>
  • Loading branch information
nicole-graus and ilitteri authored Oct 30, 2024
1 parent 0a50704 commit a045516
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 a045516

Please sign in to comment.