removed unecessary mormordsort if
This commit is contained in:
parent
32e98de308
commit
ae2cd09452
4
ypsu.cpp
4
ypsu.cpp
@ -219,9 +219,7 @@ static inline void mormord_sort_impl(uint32_t *a, int n, int j) noexcept {
|
||||
uint32_t from = real_radics[i];
|
||||
/* non-inclusive */
|
||||
uint32_t to = real_radics[i + 1];
|
||||
if(from < to) { // TODO: check if this "if" is needed!
|
||||
mormord_sort_impl(&a[from], (to - (from)), j - 1);
|
||||
}
|
||||
mormord_sort_impl(&a[from], (to - (from)), j - 1);
|
||||
}
|
||||
}
|
||||
static inline void mormord_sort(uint32_t *a, int n) noexcept {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user