diff options
author | Abseil Team <absl-team@google.com> | 2024-03-27 19:31:17 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2024-03-27 19:32:23 -0700 |
commit | c5d722bc4eb4d833212f2cb5335e6ace569e5fbc (patch) | |
tree | 66c1f18d5b5765323a59ebe19c9299b5fd7870d5 /absl/random | |
parent | 41136ed173b64fbe4ef55838bcc24c6b81dead5e (diff) | |
download | abseil-c5d722bc4eb4d833212f2cb5335e6ace569e5fbc.tar.gz abseil-c5d722bc4eb4d833212f2cb5335e6ace569e5fbc.tar.bz2 abseil-c5d722bc4eb4d833212f2cb5335e6ace569e5fbc.zip |
Fix the wrong link.
It took me way too much time to figure out why parameters of `absl::LogUniform` have nothing to do with the contents of the linked wiki page.
The new link does not match the function exactly, but it is still much closer than the log-normal distribution.
PiperOrigin-RevId: 619749575
Change-Id: Idbe748ed0dadf3ca22dc592f296f770ce04de8be
Diffstat (limited to 'absl/random')
-rw-r--r-- | absl/random/distributions.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/random/distributions.h b/absl/random/distributions.h index 4e3b332e..16b76eea 100644 --- a/absl/random/distributions.h +++ b/absl/random/distributions.h @@ -362,7 +362,7 @@ RealType Gaussian(URBG&& urbg, // NOLINT(runtime/references) // If `lo` is nonzero then this distribution is shifted to the desired interval, // so LogUniform(lo, hi, b) is equivalent to LogUniform(0, hi-lo, b)+lo. // -// See https://en.wikipedia.org/wiki/Log-normal_distribution +// See https://en.wikipedia.org/wiki/Reciprocal_distribution // // Example: // |