summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2014-03-20 13:16:43 -0400
committerTavian Barnes <tavianator@tavianator.com>2014-03-20 13:16:43 -0400
commit9144cf331f360ec49362e276a3333e4e551d6a61 (patch)
tree252238433f92f57b94198226d06112c369f2e44e /main.c
parent43075f1ba25d360c9c623b444e3089196e45ef5a (diff)
downloadkd-forest-9144cf331f360ec49362e276a3333e4e551d6a61.tar.xz
Fix corner case in color_comparator() and clarify a comment.
If anum == 0 and bdenom == 0, we should check anum*sgn(adenom) < bnum*sgn(bdenom), not anum*adenom < bnum*bdenom.
Diffstat (limited to 'main.c')
0 files changed, 0 insertions, 0 deletions