Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit cbfec03

Browse files
author
Jonathan Kliem
committed
fix function signatures
1 parent e0c8466 commit cbfec03

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/sage/libs/pari/convert_sage.pxd

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ cpdef Gen new_gen_from_rational(Rational self)
1111

1212
cpdef pari_is_prime(Integer p)
1313
cpdef pari_is_prime_power(Integer q, bint get_data)
14-
cpdef ulong pari_maxprime()
15-
cpdef list pari_prime_range(long c_start, long c_stop, bint py_ints=False)
14+
cpdef unsigned long pari_maxprime()
15+
cpdef list pari_prime_range(long c_start, long c_stop, bint py_ints=*)

src/sage/libs/pari/convert_sage.pyx

+1-1
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ cpdef pari_is_prime_power(Integer q, bint get_data):
530530
return (q, smallInteger(0)) if get_data else False
531531

532532

533-
cpdef ulong pari_maxprime():
533+
cpdef unsigned long pari_maxprime():
534534
"""
535535
Return to which limit PARI has computed the primes.
536536

0 commit comments

Comments
 (0)