From ce65f32f4dc926453b1e8bb596746c542887d7b9 Mon Sep 17 00:00:00 2001 From: Tushar Khanduri <62638544+Tushar-K24@users.noreply.github.com> Date: Sat, 4 Sep 2021 00:11:16 +0530 Subject: [PATCH] Update selection_sort_recursive.cpp --- sorting/selection_sort_recursive.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sorting/selection_sort_recursive.cpp b/sorting/selection_sort_recursive.cpp index 4249b3fda..3ac637b5f 100644 --- a/sorting/selection_sort_recursive.cpp +++ b/sorting/selection_sort_recursive.cpp @@ -75,7 +75,7 @@ void selectionSortRecursive(std::vector &in_arr, return; } uint64_t min_element_idx = - find_min_index::findMinIndex(in_arr, current_position); + selection_sort_recursive::findMinIndex(in_arr, current_position); if (min_element_idx != current_position) { std::swap(in_arr[min_element_idx], in_arr[current_position]); }