Skip to content

Commit

Permalink
fix operate_with for jacobian coordinates
Browse files Browse the repository at this point in the history
  • Loading branch information
jotabulacios committed Feb 12, 2025
1 parent b8e1125 commit a6c166b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion math/src/elliptic_curve/short_weierstrass/point.rs
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ impl<E: IsShortWeierstrass> IsGroup for ShortWeierstrassJacobianPoint<E> {
let z3 = z3.double() * h;

debug_assert_eq!(
E::defining_equation_projective(&x3, &y3, &z3),
E::defining_equation_jacobian(&x3, &y3, &z3),
FieldElement::<E::BaseField>::zero()
);
unsafe { Self::new([x3, y3, z3]).unwrap_unchecked() }
Expand Down

0 comments on commit a6c166b

Please sign in to comment.