From 0441f3844410c64b7e2d4a2604b4254b851e64c8 Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Wed, 19 Oct 2022 15:50:51 +0200 Subject: Reverted back to c_forrrange from c_forloop. Still available but deprecated. --- docs/crandom_api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/crandom_api.md') diff --git a/docs/crandom_api.md b/docs/crandom_api.md index d6180490..3e6ae8f0 100644 --- a/docs/crandom_api.md +++ b/docs/crandom_api.md @@ -94,7 +94,7 @@ int main() // Create histogram map csmap_i mhist = csmap_i_init(); - c_forloop (N) { + c_forrange (N) { int index = (int) round( stc64_normalf(&rng, &dist) ); csmap_i_emplace(&mhist, index, 0).ref->second += 1; } -- cgit v1.2.3