Skip to content

Commit 20a9f6e

Browse files
authored
Merge pull request #5847 from ebzych/patch-1
Clarify random_device usage in test function
2 parents 7e88c0b + 8a98c39 commit 20a9f6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/standard-library/normal-distribution-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ using namespace std;
8383
void test(const double m, const double s, const int samples) {
8484
8585
// uncomment to use a non-deterministic seed
86-
// random_device gen;
86+
// random_device rd;
8787
// mt19937 gen(rd());
8888
mt19937 gen(1701);
8989

0 commit comments

Comments
 (0)