Skip to content

Commit b3c57e1

Browse files
committed
Rename prec_words_to_bits to prec_pari_to_bits
1 parent b75d8ea commit b3c57e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sage/schemes/elliptic_curves/ell_point.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@
142142

143143
try:
144144
from sage.libs.pari.all import pari, PariError
145-
from cypari2.pari_instance import prec_words_to_bits
145+
from cypari2.pari_instance import prec_pari_to_bits
146146
except ImportError:
147147
PariError = ()
148148

@@ -3705,7 +3705,7 @@ def elliptic_logarithm(self, embedding=None, precision=100,
37053705
E_pari = E_work.pari_curve()
37063706
log_pari = E_pari.ellpointtoz(pt_pari, precision=working_prec)
37073707

3708-
while prec_words_to_bits(log_pari.precision()) < precision:
3708+
while prec_pari_to_bits(log_pari.precision()) < precision:
37093709
# result is not precise enough, re-compute with double
37103710
# precision. if the base field is not QQ, this
37113711
# requires modifying the precision of the embedding,

0 commit comments

Comments
 (0)