From a6c166b02ec39001f5b5515cefb15d1c798510f4 Mon Sep 17 00:00:00 2001 From: jotabulacios Date: Wed, 12 Feb 2025 12:14:09 -0300 Subject: [PATCH] fix operate_with for jacobian coordinates --- math/src/elliptic_curve/short_weierstrass/point.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/math/src/elliptic_curve/short_weierstrass/point.rs b/math/src/elliptic_curve/short_weierstrass/point.rs index 9d6432046..65d0c7712 100644 --- a/math/src/elliptic_curve/short_weierstrass/point.rs +++ b/math/src/elliptic_curve/short_weierstrass/point.rs @@ -636,7 +636,7 @@ impl IsGroup for ShortWeierstrassJacobianPoint { let z3 = z3.double() * h; debug_assert_eq!( - E::defining_equation_projective(&x3, &y3, &z3), + E::defining_equation_jacobian(&x3, &y3, &z3), FieldElement::::zero() ); unsafe { Self::new([x3, y3, z3]).unwrap_unchecked() }