diff options
| author | Tyge Løvset <[email protected]> | 2022-09-23 13:17:22 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2022-09-23 13:17:22 +0200 |
| commit | 2c83996f1ad7ac7176833d1ecb76f59120bf52cd (patch) | |
| tree | 495527c129d630b67aed0d8528c70ef5aa418106 /benchmarks/plotbench/cpque_benchmark.cpp | |
| parent | 0ec40a5819a619b6b2777f24c555a8953e99ea9b (diff) | |
| download | STC-modified-2c83996f1ad7ac7176833d1ecb76f59120bf52cd.tar.gz STC-modified-2c83996f1ad7ac7176833d1ecb76f59120bf52cd.zip | |
Reverted c_forrange() macro with 3 or more args: swapped 1st and 2nd arg again.
Diffstat (limited to 'benchmarks/plotbench/cpque_benchmark.cpp')
| -rw-r--r-- | benchmarks/plotbench/cpque_benchmark.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/benchmarks/plotbench/cpque_benchmark.cpp b/benchmarks/plotbench/cpque_benchmark.cpp index 9e2f8d18..ca28082b 100644 --- a/benchmarks/plotbench/cpque_benchmark.cpp +++ b/benchmarks/plotbench/cpque_benchmark.cpp @@ -50,12 +50,12 @@ void stc_test() printf("Built priority queue: %f secs\n", (clock() - start) / (float) CLOCKS_PER_SEC); printf("%g ", *cpque_f_top(&pq)); - c_forrange (int, i, M) { + c_forrange (i, int, M) { cpque_f_pop(&pq); } start = clock(); - c_forrange (int, i, M, N) + c_forrange (i, int, M, N) cpque_f_pop(&pq); printf("\npopped PQ: %f secs\n", (clock() - start) / (float) CLOCKS_PER_SEC); } |
