diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2016-01-13 03:07:42 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2016-01-13 21:27:43 +0900 |
commit | 1d2d32c847e39818bedae5f86ca75e6b70b60444 (patch) | |
tree | c4920d669241446466448d5bb4d14162cc2085db /src/merger.go | |
parent | d635b3fd3ca34143b203eacc4308ed35628ac2f8 (diff) |
Accept comma-separated list of sort criteria
Diffstat (limited to 'src/merger.go')
-rw-r--r-- | src/merger.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/merger.go b/src/merger.go index cce8a947..26ed17b5 100644 --- a/src/merger.go +++ b/src/merger.go @@ -88,7 +88,7 @@ func (mg *Merger) cacheable() bool { func (mg *Merger) mergedGet(idx int) *Item { for i := len(mg.merged); i <= idx; i++ { - minRank := Rank{0, 0, 0} + minRank := buildEmptyRank(0) minIdx := -1 for listIdx, list := range mg.lists { cursor := mg.cursors[listIdx] |