summaryrefslogtreecommitdiffhomepage
path: root/docs/crandom_api.md
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2022-09-26 08:08:47 +0200
committerTyge Løvset <[email protected]>2022-09-26 08:08:47 +0200
commitca01dd726e2ed8f8b69f8ff08855e80f4eea7247 (patch)
tree0ce1594c39d18a93212f066fd8c3c2477fc6f22b /docs/crandom_api.md
parentad5be4349232bbba96c0974bc2693ec7331c4b12 (diff)
downloadSTC-modified-ca01dd726e2ed8f8b69f8ff08855e80f4eea7247.tar.gz
STC-modified-ca01dd726e2ed8f8b69f8ff08855e80f4eea7247.zip
DEPRECATED: c_forrange(): replaced with c_forloop(). This uses 'long long' as iter type, i.e. "%lld" printf format.
crange_from() renamed to crange_make(). More docs.
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 3e6ae8f0..d6180490 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_forrange (N) {
+ c_forloop (N) {
int index = (int) round( stc64_normalf(&rng, &dist) );
csmap_i_emplace(&mhist, index, 0).ref->second += 1;
}