Skip to content

Commit

Permalink
Replace prec_pari_to_bits usage
Browse files Browse the repository at this point in the history
Co-authored-by: Gonzalo Tornaría <[email protected]>
  • Loading branch information
antonio-rojas and tornaria authored Oct 30, 2024
1 parent 53a3259 commit 4fc2034
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/schemes/elliptic_curves/ell_point.py
Original file line number Diff line number Diff line change
Expand Up @@ -3705,7 +3705,7 @@ def elliptic_logarithm(self, embedding=None, precision=100,
E_pari = E_work.pari_curve()
log_pari = E_pari.ellpointtoz(pt_pari, precision=working_prec)

while prec_pari_to_bits(log_pari.precision()) < precision:
while log_pari.bitprecision() < precision:
# result is not precise enough, re-compute with double
# precision. if the base field is not QQ, this
# requires modifying the precision of the embedding,
Expand Down

0 comments on commit 4fc2034

Please sign in to comment.