Skip to content

Commit cace42b

Browse files
committed
print again
1 parent ee7edf7 commit cace42b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/flint/types/fmpz.pyx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,18 @@ cdef fmpz_get_intlong(fmpz_t x):
1919
Convert fmpz_t to a Python int or long.
2020
"""
2121
cdef char * s
22+
print("fmpz_get_intlong: 0")
2223
if COEFF_IS_MPZ(x[0]):
24+
print("fmpz_get_intlong: 1", flush=True)
2325
s = fmpz_get_str(NULL, 16, x)
26+
print("fmpz_get_intlong: 2", flush=True)
2427
v = int(bytes(s).decode('ascii'), 16)
28+
print("fmpz_get_intlong: 3", flush=True)
2529
libc.stdlib.free(s)
30+
print("fmpz_get_intlong: 4", flush=True)
2631
return v
2732
else:
33+
print("fmpz_get_intlong: small", flush=True)
2834
return <slong>x[0]
2935

3036
cdef int fmpz_set_any_ref(fmpz_t x, obj):

0 commit comments

Comments
 (0)