hopefully fixing internal quicksorts?

This commit is contained in:
Richard Thier 2023-06-30 16:39:56 +02:00
parent 96e9fb4440
commit 36189e8a3c

View File

@ -581,7 +581,7 @@ static inline void ts_quicksort_inplace(
/* Just simple recursion for now */
ts_quicksort_inplace(arr, from, left, lt, reent_data);
ts_quicksort_inplace(arr, left, to, lt, reent_data);
ts_quicksort_inplace(arr, left + 1, to, lt, reent_data);
}
/**
@ -622,7 +622,7 @@ static inline void ts_quicksort_fromto(
/* Can use inplace steps from now on */
ts_quicksort_inplace(dst, from, li, lt, reent_data);
ts_quicksort_inplace(dst, li, to, lt, reent_data);
ts_quicksort_inplace(dst, li + 1, to, lt, reent_data);
}
/** Internal code reuse (type-branches should be optimized out) */