Skip to content

Commit

Permalink
Do not round the sign symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
joaoventura committed Jun 26, 2016
1 parent 87c3117 commit cebb352
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flatlib/angle.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def _fixSlist(slist):
def _roundSlist(slist):
""" Rounds a signed list over the last element and removes it. """
slist[-1] = 60 if slist[-1] >= 30 else 0
for i in range(len(slist)-1, 0, -1):
for i in range(len(slist)-1, 1, -1):
if slist[i] == 60:
slist[i] = 0
slist[i-1] += 1
Expand Down

0 comments on commit cebb352

Please sign in to comment.