summaryrefslogtreecommitdiff
path: root/sort/selection.go
diff options
context:
space:
mode:
Diffstat (limited to 'sort/selection.go')
-rw-r--r--sort/selection.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/sort/selection.go b/sort/selection.go
index d084fc0..3a5774f 100644
--- a/sort/selection.go
+++ b/sort/selection.go
@@ -4,7 +4,7 @@ import (
"algorithms/ds"
)
-func Selection(a []ds.Comparer) []ds.Comparer {
+func Selection(a ds.ArrayList) ds.ArrayList {
length := len(a)
for i := 0; i < length; i++ {
min := i