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 <tornaria@cmat.edu.uy>
  • Loading branch information
antonio-rojas and tornaria committed Oct 30, 2024
1 parent 14dd562 commit 23ff7d6
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 @@ -3712,7 +3712,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 23ff7d6

Please sign in to comment.