Skip to content

Commit 8a98c39

Browse files
authored
Clarify random_device usage in test function
Updated comments in the test function to clarify the use of random_device.
1 parent 365d9cb commit 8a98c39

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)