diff options
| author | Tyge Løvset <[email protected]> | 2022-10-19 15:50:51 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2022-10-19 15:50:51 +0200 |
| commit | 0441f3844410c64b7e2d4a2604b4254b851e64c8 (patch) | |
| tree | 2b30f21536fd589b890fa4644732e963036a9113 /docs/crandom_api.md | |
| parent | bb3a457e5c2c9e6b069ab3dfba10f9d21686b035 (diff) | |
| download | STC-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.md | 2 |
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; } |
