Browse Source

fix style

tags/1.0.0
Chris Cromer 1 year ago
parent
commit
1094451880
Signed by: Chris Cromer <chris@cromer.cl> GPG Key ID: 39CC813FF3C8708A
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/bitonic_sort.c

+ 1
- 1
src/bitonic_sort.c View File

@@ -114,7 +114,7 @@ void bitonicmerge_no2(int low, int n, int dir, int *array) {
void recbitonic(int low, int n, int dir, int *array) {
int k;

if (n > 1){
if (n > 1) {
k = n / 2;
recbitonic(low, k, 1, array);
recbitonic(low + k, k, 0, array);

Loading…
Cancel
Save