aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Klose <doko@debian.org>2007-01-06 09:56:37 +0000
committerMatthias Klose <doko@gcc.gnu.org>2007-01-06 09:56:37 +0000
commit472017b355ded38484c1e957312791fef1965cfa (patch)
treec40370ccd119955dc9f17dba9facf635c5b00de4
parentfc40d49c4e21498fbf5c6ac1bd7ac2c971a9dafe (diff)
downloadgcc-472017b355ded38484c1e957312791fef1965cfa.zip
gcc-472017b355ded38484c1e957312791fef1965cfa.tar.gz
gcc-472017b355ded38484c1e957312791fef1965cfa.tar.bz2
random (gamma_distribution): Fix typo in formula.
2007-01-06 Matthias Klose <doko@debian.org> * include/tr1/random (gamma_distribution): Fix typo in formula. * docs/doxygen/user.cfg.in: Use package amsmath. From-SVN: r120522
-rw-r--r--libstdc++-v3/ChangeLog5
-rw-r--r--libstdc++-v3/docs/doxygen/user.cfg.in2
-rw-r--r--libstdc++-v3/include/tr1/random2
3 files changed, 7 insertions, 2 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index d1a7995..1511443 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,8 @@
+2007-01-06 Matthias Klose <doko@debian.org>
+
+ * include/tr1/random (gamma_distribution): Fix typo in formula.
+ * docs/doxygen/user.cfg.in: Use package amsmath.
+
2006-12-29 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/30226
diff --git a/libstdc++-v3/docs/doxygen/user.cfg.in b/libstdc++-v3/docs/doxygen/user.cfg.in
index c5d58a0..5a00178 100644
--- a/libstdc++-v3/docs/doxygen/user.cfg.in
+++ b/libstdc++-v3/docs/doxygen/user.cfg.in
@@ -902,7 +902,7 @@ PAPER_TYPE = letter
# The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX
# packages that should be included in the LaTeX output.
-EXTRA_PACKAGES =
+EXTRA_PACKAGES = amsmath
# The LATEX_HEADER tag can be used to specify a personal LaTeX header for
# the generated latex document. The header should contain everything until
diff --git a/libstdc++-v3/include/tr1/random b/libstdc++-v3/include/tr1/random
index d196394..72ec79d 100644
--- a/libstdc++-v3/include/tr1/random
+++ b/libstdc++-v3/include/tr1/random
@@ -2270,7 +2270,7 @@ _GLIBCXX_BEGIN_NAMESPACE(tr1)
* @brief A gamma continuous distribution for random numbers.
*
* The formula for the gamma probability mass function is
- * @f$ p(x) = \frac{1}{\Gamma(\alpha)} x^{\alpha - 1} e^{-x} } @f$.
+ * @f$ p(x) = \frac{1}{\Gamma(\alpha)} x^{\alpha - 1} e^{-x} @f$.
*/
template<typename _RealType = double>
class gamma_distribution