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

Commit

Permalink
27662: primecount 4.7 with a py3 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
slel committed Apr 17, 2019
1 parent 6e96a5a commit ff23d35
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions build/pkgs/primecount/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
tarball=primecount-VERSION.tar.gz
sha1=c5e4912f75f096c2a3841c045c85207a78bcd6b5
md5=f06957db6ff92132584794aa53e5b2c8
cksum=1834548948
sha1=af88c883e01c012a45e5971b1c69bdbb152841cb
md5=9b4ebfef457074bfaeb57d9cadfa325c
cksum=3045607217
2 changes: 1 addition & 1 deletion build/pkgs/primecount/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.3
4.7
2 changes: 1 addition & 1 deletion src/sage/interfaces/primecount.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ cpdef prime_pi_128(n):
sage: nth_prime_128(2**65) # not tested
?
"""
cdef cppstring s = str(n)
cdef cppstring s = bytes(n)
cdef bytes ans
sig_on()
ans = primecount.pi(s)
Expand Down

0 comments on commit ff23d35

Please sign in to comment.