diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2014-03-20 13:16:43 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2014-03-20 13:16:43 -0400 |
commit | 9144cf331f360ec49362e276a3333e4e551d6a61 (patch) | |
tree | 252238433f92f57b94198226d06112c369f2e44e /COPYING | |
parent | 43075f1ba25d360c9c623b444e3089196e45ef5a (diff) | |
download | kd-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 'COPYING')
0 files changed, 0 insertions, 0 deletions