minor comment fix

pull/3930/head
Cory LaNou 2015-09-04 07:59:30 -05:00
parent 3ca93594c3
commit 4a9e936858
1 changed files with 1 additions and 1 deletions

View File

@ -1302,7 +1302,7 @@ type topReduceOut struct {
func (t topReduceOut) Len() int { return len(t.points) }
func (t topReduceOut) Swap(i, j int) { t.points[i], t.points[j] = t.points[j], t.points[i] }
func (t topReduceOut) Less(i, j int) bool {
// Now sort by time first, not max
// Now sort by time first, not value
sortFloat := func(d1, d2 float64) bool {
k1, k2 := t.points[i].Time, t.points[j].Time
if k1 != k2 {