Skip to content

Commit

Permalink
Remove comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
onyxfish committed Jun 7, 2016
1 parent 103cad7 commit 284a208
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions leather/ticks.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,17 +141,6 @@ def round_tick(t):
Round ticks to 0-3 decimal places, if the remaining digits do not appear
to be significant.
"""
# if isclose(t, int(t)):
# return int(t)
#
# for r in range(1, 4):
# rounded = round(t, r)
#
# if isclose(t, rounded):
# return rounded
#
# return t

for r in range(0, 4):
exp = pow(Decimal(10), Decimal(-r))
quantized = t.quantize(exp)
Expand Down

0 comments on commit 284a208

Please sign in to comment.