From 8b61c2633db0a77fac35111f0e9262b1e0babab5 Mon Sep 17 00:00:00 2001 From: Shihab Shahriar Khan Date: Mon, 16 Oct 2023 12:12:44 -0400 Subject: [PATCH] Updated README.md Had a bug in one of the sample codes --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0e7d0cd..884fa54 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,8 @@ int main() { float f = rng.rand(); // range [0,1) // use std distribution functions with RNG - double x = std::lognormal_distribution dist(0.0, 1.0); + std::lognormal_distribution dist(0.0, 1.0); + double x = dist(rng); ... } ```