changed the sort order

This commit is contained in:
Todd Gruben 2014-06-18 21:23:41 -05:00
parent 1b89d79c0a
commit 8ee3b7eddc

View file

@ -94,7 +94,7 @@ func getLightestProcess(m map[string]int) (Pair, error) {
}
sort.Sort(p)
return p[l-1], nil
return p[0], nil
}
func (self *TopologyMapper) MakeFragments(db string, slice_int int) error {