diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2012-01-25 20:56:26 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2012-01-25 20:56:26 +0000 |
commit | df1304ee03f41aed179545d1e8b4684cfd22bbdf (patch) | |
tree | c68d6b2a9f5b82a23171b0a488a4b7e5c63ad860 /libgo/go/sort | |
parent | 3be18e47c33b61365786831e0f967f42b09922c9 (diff) | |
download | gcc-df1304ee03f41aed179545d1e8b4684cfd22bbdf.zip gcc-df1304ee03f41aed179545d1e8b4684cfd22bbdf.tar.gz gcc-df1304ee03f41aed179545d1e8b4684cfd22bbdf.tar.bz2 |
libgo: Update to weekly.2012-01-15.
From-SVN: r183539
Diffstat (limited to 'libgo/go/sort')
-rw-r--r-- | libgo/go/sort/sort.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/sort/sort.go b/libgo/go/sort/sort.go index 4aa4ca6..31da3c8 100644 --- a/libgo/go/sort/sort.go +++ b/libgo/go/sort/sort.go @@ -191,7 +191,7 @@ func Sort(data Interface) { maxDepth++ } maxDepth *= 2 - quickSort(data, 0, data.Len(), maxDepth) + quickSort(data, 0, n, maxDepth) } func IsSorted(data Interface) bool { |