Skip to content

Commit 24c5152

Browse files
authored
Merge pull request #4966 from martin-frbg/getrf_indent
Fix misleading indentation warning in getrf
2 parents 794f75a + 2332ea7 commit 24c5152

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

lapack/getrf/getrf_parallel.c

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -326,16 +326,15 @@ static int inner_advanced_thread(blas_arg_t *args, BLASLONG *range_m, BLASLONG *
326326
min_i = m - is;
327327
if (min_i >= GEMM_P * 2) {
328328
min_i = GEMM_P;
329-
} else
330-
if (min_i > GEMM_P) {
329+
} else if (min_i > GEMM_P) {
331330
min_i = (((min_i + 1) / 2 + GEMM_UNROLL_M - 1)/GEMM_UNROLL_M) * GEMM_UNROLL_M;
332-
}
331+
}
333332

334-
ICOPY_OPERATION(k, min_i, a, lda, 0, is, sa);
333+
ICOPY_OPERATION(k, min_i, a, lda, 0, is, sa);
335334

336-
current = mypos;
335+
current = mypos;
337336

338-
do {
337+
do {
339338

340339
div_n = (range_n[current + 1] - range_n[current] + DIVIDE_RATE - 1) / DIVIDE_RATE;
341340

@@ -365,7 +364,7 @@ static int inner_advanced_thread(blas_arg_t *args, BLASLONG *range_m, BLASLONG *
365364
current ++;
366365
if (current >= args -> nthreads) current = 0;
367366

368-
} while (current != mypos);
367+
} while (current != mypos);
369368
}
370369

371370
for (i = 0; i < args -> nthreads; i++) {

0 commit comments

Comments
 (0)