Boost logo

Boost-Commit :

From: kbelco_at_[hidden]
Date: 2008-01-26 17:21:57


Author: noel_belcourt
Date: 2008-01-26 17:21:57 EST (Sat, 26 Jan 2008)
New Revision: 42988
URL: http://svn.boost.org/trac/boost/changeset/42988

Log:
Fixes #1539

Fixed typo in the random documentation.

Text files modified:
   trunk/libs/random/index.html | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/libs/random/index.html
==============================================================================
--- trunk/libs/random/index.html (original)
+++ trunk/libs/random/index.html 2008-01-26 17:21:57 EST (Sat, 26 Jan 2008)
@@ -47,7 +47,7 @@
   <pre>
   boost::mt19937 rng; // produces randomness out of thin air
                                       // see pseudo-random number generators
- boost::uniform_int&lt;&gt; six(1,6) // distribution that maps to 1..6
+ boost::uniform_int&lt;&gt; six(1,6); // distribution that maps to 1..6
                                       // see random number distributions
   boost::variate_generator&lt;boost::mt19937&amp;, boost::uniform_int&lt;&gt; &gt;
            die(rng, six); // glues randomness with mapping


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk