Skip to content

Commit

Permalink
Updated README.md
Browse files Browse the repository at this point in the history
Had a bug in one of the sample codes
  • Loading branch information
Shihab-Shahriar authored Oct 16, 2023
1 parent 365f64a commit 8b61c26
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ int main() {
float f = rng.rand<float>(); // range [0,1)
// use std distribution functions with RNG
double x = std::lognormal_distribution<double> dist(0.0, 1.0);
std::lognormal_distribution<double> dist(0.0, 1.0);
double x = dist(rng);
...
}
```
Expand Down

0 comments on commit 8b61c26

Please sign in to comment.