summaryrefslogtreecommitdiffhomepage
path: root/docs/crandom_api.md
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2022-10-19 15:50:51 +0200
committerTyge Løvset <[email protected]>2022-10-19 15:50:51 +0200
commit0441f3844410c64b7e2d4a2604b4254b851e64c8 (patch)
tree2b30f21536fd589b890fa4644732e963036a9113 /docs/crandom_api.md
parentbb3a457e5c2c9e6b069ab3dfba10f9d21686b035 (diff)
downloadSTC-modified-0441f3844410c64b7e2d4a2604b4254b851e64c8.tar.gz
STC-modified-0441f3844410c64b7e2d4a2604b4254b851e64c8.zip
Reverted back to c_forrrange from c_forloop. Still available but deprecated.
Diffstat (limited to 'docs/crandom_api.md')
-rw-r--r--docs/crandom_api.md2
1 files changed, 1 insertions, 1 deletions
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;
}