We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fba1555 + 7fe1c0d commit 0050262Copy full SHA for 0050262
pydatastructs/linear_data_structures/algorithms.py
@@ -1439,7 +1439,7 @@ def selection_sort(array, **kwargs):
1439
"""
1440
backend = kwargs.pop("backend", Backend.PYTHON)
1441
if backend == Backend.CPP:
1442
- return _algorithms.bubble_sort(array, **kwargs)
+ return _algorithms.selection_sort(array, **kwargs)
1443
if backend == Backend.LLVM:
1444
return _algorithms.selection_sort_llvm(array, **kwargs)
1445
start = kwargs.get('start', 0)
0 commit comments