Skip to content

Commit 0050262

Browse files
authored
Merge branch 'main' into selection-sort
2 parents fba1555 + 7fe1c0d commit 0050262

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pydatastructs/linear_data_structures/algorithms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1439,7 +1439,7 @@ def selection_sort(array, **kwargs):
14391439
"""
14401440
backend = kwargs.pop("backend", Backend.PYTHON)
14411441
if backend == Backend.CPP:
1442-
return _algorithms.bubble_sort(array, **kwargs)
1442+
return _algorithms.selection_sort(array, **kwargs)
14431443
if backend == Backend.LLVM:
14441444
return _algorithms.selection_sort_llvm(array, **kwargs)
14451445
start = kwargs.get('start', 0)

0 commit comments

Comments
 (0)