diff options
Diffstat (limited to 'benchmarks/plotbench/cpque_benchmark.cpp')
| -rw-r--r-- | benchmarks/plotbench/cpque_benchmark.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/benchmarks/plotbench/cpque_benchmark.cpp b/benchmarks/plotbench/cpque_benchmark.cpp index 33e55719..2b6d3748 100644 --- a/benchmarks/plotbench/cpque_benchmark.cpp +++ b/benchmarks/plotbench/cpque_benchmark.cpp @@ -13,9 +13,7 @@ int main() stc64_t rng;
int N = 10000000, M = 10;
- cpque_f pq = cpque_f_init();
- cpque_f_resize(&pq, N, 0.0f);
-
+ cpque_f pq = cpque_f_with_size(N, 0.0f);
rng = stc64_init(seed);
clock_t start = clock();
c_forrange (i, N)
|
