mirror of
https://github.moeyy.xyz/https://github.com/TheAlgorithms/C.git
synced 2023-10-11 15:56:24 +08:00
Update sorting/selection_sort_recursive.c
Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
parent
9a1d26e22a
commit
3ceeecfab9
@ -29,7 +29,7 @@ void swap(uint8_t *first, uint8_t *second)
|
||||
* @param size size of array
|
||||
* @return min_index index of element having minimum value.
|
||||
*/
|
||||
uint8_t findIndex(const uint8_t *arr, const uint8_t size)
|
||||
uint8_t findIndex(const uint8_t *arr, const uint8_t& size)
|
||||
{
|
||||
if (size == 1)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user