From 58497293d88109624d4798c56e888bcbab7c4285 Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Mon, 18 Apr 2022 23:53:18 +0200 Subject: crandom.h: Renamed *_init(..) functions to *_new(..). Old names are kept but deprecated. --- benchmarks/plotbench/cpque_benchmark.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'benchmarks/plotbench/cpque_benchmark.cpp') diff --git a/benchmarks/plotbench/cpque_benchmark.cpp b/benchmarks/plotbench/cpque_benchmark.cpp index 84bbe468..4a9e830a 100644 --- a/benchmarks/plotbench/cpque_benchmark.cpp +++ b/benchmarks/plotbench/cpque_benchmark.cpp @@ -17,7 +17,7 @@ void std_test() int N = 10000000, M = 10; std::priority_queue, std::greater> pq; - rng = stc64_init(seed); + rng = stc64_new(seed); clock_t start = clock(); c_forrange (i, N) pq.push((float) stc64_randf(&rng)*100000); @@ -41,7 +41,7 @@ void stc_test() c_auto (cpque_f, pq) { - rng = stc64_init(seed); + rng = stc64_new(seed); clock_t start = clock(); c_forrange (i, N) cpque_f_push(&pq, (float) stc64_randf(&rng)*100000); -- cgit v1.2.3