aboutsummaryrefslogtreecommitdiff
path: root/absl/random
diff options
context:
space:
mode:
authorAbseil Team <absl-team@google.com>2024-03-27 19:31:17 -0700
committerCopybara-Service <copybara-worker@google.com>2024-03-27 19:32:23 -0700
commitc5d722bc4eb4d833212f2cb5335e6ace569e5fbc (patch)
tree66c1f18d5b5765323a59ebe19c9299b5fd7870d5 /absl/random
parent41136ed173b64fbe4ef55838bcc24c6b81dead5e (diff)
downloadabseil-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.h2
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:
//