diff --git a/include/gp/algorithms/partition.hpp b/include/gp/algorithms/partition.hpp index 898caa8..5a38995 100644 --- a/include/gp/algorithms/partition.hpp +++ b/include/gp/algorithms/partition.hpp @@ -36,9 +36,9 @@ namespace gp { return first; } - + /** template it_t partition(it_t first, it_t last, pred predicate = pred{}) { return gp::hoare_partition(first, last, predicate); - } + }**/ } \ No newline at end of file diff --git a/include/gp/algorithms/sort.hpp b/include/gp/algorithms/sort.hpp index 0ee73d1..f9b122b 100644 --- a/include/gp/algorithms/sort.hpp +++ b/include/gp/algorithms/sort.hpp @@ -70,6 +70,6 @@ namespace gp { template void sort(it_t first, it_t last, pred predicate = pred{}) { - return gp::__details::bubble_sort(first, last, predicate); + return gp::__details::selection_sort(first, last, predicate); } } \ No newline at end of file