Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r76651 - trunk/libs/graph/doc
From: jewillco_at_[hidden]
Date: 2012-01-23 11:07:05


Author: jewillco
Date: 2012-01-23 11:07:05 EST (Mon, 23 Jan 2012)
New Revision: 76651
URL: http://svn.boost.org/trac/boost/changeset/76651

Log:
Fixed typo from #6435 plus others; fixes #6435
Text files modified:
   trunk/libs/graph/doc/topology.html | 22 +++++++++++-----------
   1 files changed, 11 insertions(+), 11 deletions(-)

Modified: trunk/libs/graph/doc/topology.html
==============================================================================
--- trunk/libs/graph/doc/topology.html (original)
+++ trunk/libs/graph/doc/topology.html 2012-01-23 11:07:05 EST (Mon, 23 Jan 2012)
@@ -124,8 +124,8 @@
   struct point
   {
     point() { }
- double& operator[](std::size_t i) {return values[i];}
- const double& operator[](std::size_t i) const {return values[i];}
+ double& operator[](std::size_t i) {return values[i];}
+ const double& operator[](std::size_t i) const {return values[i];}
 
   private:
     double values[Dims];
@@ -157,7 +157,7 @@
 {
 public:
   explicit hypercube_topology(double scaling = 1.0);
- hypercube_topology(RandomNumberGenerator& gen, double scaling = 1.0);
+ hypercube_topology(RandomNumberGenerator& gen, double scaling = 1.0);
   point_type random_point() const;
 };
 </pre>
@@ -173,13 +173,13 @@
 {
  public:
   explicit square_topology(double scaling = 1.0);
- square_topology(RandomNumberGenerator& gen, double scaling = 1.0);
+ square_topology(RandomNumberGenerator&amp; gen, double scaling = 1.0);
 };
 </pre>
 
 <a name="cube_topology"><h3>Class template <tt>cube_topology</tt></h3></a>
 
-<p>Class template <tt>cube_topology</tt> is a two-dimensional
+<p>Class template <tt>cube_topology</tt> is a three-dimensional
 hypercube topology.
 
 <pre>
@@ -188,7 +188,7 @@
 {
  public:
   explicit cube_topology(double scaling = 1.0);
- cube_topology(RandomNumberGenerator& gen, double scaling = 1.0);
+ cube_topology(RandomNumberGenerator&amp; gen, double scaling = 1.0);
 };
 </pre>
 
@@ -209,7 +209,7 @@
 {
 public:
   explicit ball_topology(double radius = 1.0);
- ball_topology(RandomNumberGenerator& gen, double radius = 1.0);
+ ball_topology(RandomNumberGenerator&amp; gen, double radius = 1.0);
   point_type random_point() const;
 };
 </pre>
@@ -225,13 +225,13 @@
 {
  public:
   explicit circle_topology(double radius = 1.0);
- circle_topology(RandomNumberGenerator& gen, double radius = 1.0);
+ circle_topology(RandomNumberGenerator&amp; gen, double radius = 1.0);
 };
 </pre>
 
 <a name="sphere_topology"><h3>Class template <tt>sphere_topology</tt></h3></a>
 
-<p>Class template <tt>sphere_topology</tt> is a two-dimensional
+<p>Class template <tt>sphere_topology</tt> is a three-dimensional
 ball topology.
 
 <pre>
@@ -240,7 +240,7 @@
 {
  public:
   explicit sphere_topology(double radius = 1.0);
- sphere_topology(RandomNumberGenerator& gen, double radius = 1.0);
+ sphere_topology(RandomNumberGenerator&amp; gen, double radius = 1.0);
 };
 </pre>
 
@@ -258,7 +258,7 @@
   typedef <em>unspecified</em> point_type;
 
   heart_topology();
- heart_topology(RandomNumberGenerator& gen);
+ heart_topology(RandomNumberGenerator&amp; gen);
   point_type random_point() const;
   double distance(point_type a, point_type b) const;
   point_type move_position_toward(point_type a, double fraction, point_type b) const;


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