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

Commit

Permalink
fix function signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Kliem committed Sep 1, 2021
1 parent e0c8466 commit cbfec03
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/sage/libs/pari/convert_sage.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ cpdef Gen new_gen_from_rational(Rational self)

cpdef pari_is_prime(Integer p)
cpdef pari_is_prime_power(Integer q, bint get_data)
cpdef ulong pari_maxprime()
cpdef list pari_prime_range(long c_start, long c_stop, bint py_ints=False)
cpdef unsigned long pari_maxprime()
cpdef list pari_prime_range(long c_start, long c_stop, bint py_ints=*)
2 changes: 1 addition & 1 deletion src/sage/libs/pari/convert_sage.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ cpdef pari_is_prime_power(Integer q, bint get_data):
return (q, smallInteger(0)) if get_data else False


cpdef ulong pari_maxprime():
cpdef unsigned long pari_maxprime():
"""
Return to which limit PARI has computed the primes.
Expand Down

0 comments on commit cbfec03

Please sign in to comment.