Skip to content

Commit 38927be

Browse files
committed
formatting
1 parent d3fe9a8 commit 38927be

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/fsort.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ static void dradix_r( // single-threaded recursive worker
4343
return;
4444
}
4545

46-
for (uint64_t i=0, cumSum = 0; cumSum<n; ++i) { // cumSum<n better than i<width as may return early
46+
for (uint64_t i = 0, cumSum = 0; cumSum < n; i++) { // cumSum<n better than i<width as may return early
4747
uint64_t tmp;
48-
if ((tmp=counts[i])) { // don't cumulate through 0s, important below to save a wasteful memset to zero
48+
if (tmp = counts[i]) { // don't cumulate through 0s, important below to save a wasteful memset to zero
4949
counts[i] = cumSum;
5050
cumSum += tmp;
5151
}
@@ -70,7 +70,7 @@ static void dradix_r( // single-threaded recursive worker
7070
return;
7171
}
7272

73-
for (uint64_t i = 0, cumSum = 0; cumSum<n; ++i) { // again, cumSum<n better than i<width as it can return early
73+
for (uint64_t i = 0, cumSum = 0; cumSum < n; i++) { // again, cumSum<n better than i<width as it can return early
7474
if (counts[i] == 0) continue;
7575
uint64_t thisN = counts[i] - cumSum; // undo cummulate; i.e. diff
7676
if (thisN <= INSERT_THRESH) {

0 commit comments

Comments
 (0)