Skip to content

Commit

Permalink
Update sorting/selection_sort_recursive.c
Browse files Browse the repository at this point in the history
Co-authored-by: David Leal <[email protected]>
  • Loading branch information
DhruvPasricha and Panquesito7 authored Feb 28, 2021
1 parent 9a1d26e commit 3ceeecf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sorting/selection_sort_recursive.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 3ceeecf

Please sign in to comment.