diff options
| author | Tyge Løvset <[email protected]> | 2022-07-31 13:03:32 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2022-07-31 13:03:32 +0200 |
| commit | bc3f6613ba44adcecacbdd106c840e8b6c054e22 (patch) | |
| tree | 9d1d72d8c207592cb25f4892222feaddd22c8b79 /benchmarks/plotbench/cpque_benchmark.cpp | |
| parent | 8a5478f7c14d4c7476d36b137fd7d2c8d95f2c13 (diff) | |
| download | STC-modified-bc3f6613ba44adcecacbdd106c840e8b6c054e22.tar.gz STC-modified-bc3f6613ba44adcecacbdd106c840e8b6c054e22.zip | |
VERSION 3.9: API change in c_forrange() with >= 3 args. csview updates.
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 ca28082b..9e2f8d18 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 (i, int, M) { + c_forrange (int, i, M) { cpque_f_pop(&pq); } start = clock(); - c_forrange (i, int, M, N) + c_forrange (int, i, M, N) cpque_f_pop(&pq); printf("\npopped PQ: %f secs\n", (clock() - start) / (float) CLOCKS_PER_SEC); } |
