Skip to content

Commit 8a408c3

Browse files
remove debug statements
1 parent 37c8f8e commit 8a408c3

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

tunits/core/cython/frac.pyx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,6 @@ cpdef frac float_to_twelths_frac(a) except *:
8787
cdef double raised_d = 12.0*d
8888
cdef long long x = <long long>c_floor(raised_d + 0.5)
8989
if not (-1e-5 < raised_d - x < 1e-5):
90-
print(raised_d)
91-
print(raised_d - <long long>(raised_d))
92-
print(<long long>(raised_d), x)
9390
raise ValueError("Not a twelfth.")
9491

9592
return frac_least_terms(x, 12)

0 commit comments

Comments
 (0)