summaryrefslogtreecommitdiff
path: root/sort/shell.go
diff options
context:
space:
mode:
Diffstat (limited to 'sort/shell.go')
-rw-r--r--sort/shell.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/sort/shell.go b/sort/shell.go
index 39414f5..4132ca6 100644
--- a/sort/shell.go
+++ b/sort/shell.go
@@ -4,7 +4,7 @@ import (
"algorithms/ds"
)
-func Shell(a []ds.Comparer) []ds.Comparer {
+func Shell(a ds.ArrayList) ds.ArrayList {
length := len(a)
// h-sort the array
h := 1