Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r71154 - trunk/libs/geometry/doc/src/examples/algorithms
From: barend.gehrels_at_[hidden]
Date: 2011-04-09 16:41:26


Author: barendgehrels
Date: 2011-04-09 16:41:25 EDT (Sat, 09 Apr 2011)
New Revision: 71154
URL: http://svn.boost.org/trac/boost/changeset/71154

Log:
Bugfix in example
Text files modified:
   trunk/libs/geometry/doc/src/examples/algorithms/comparable_distance.cpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/libs/geometry/doc/src/examples/algorithms/comparable_distance.cpp
==============================================================================
--- trunk/libs/geometry/doc/src/examples/algorithms/comparable_distance.cpp (original)
+++ trunk/libs/geometry/doc/src/examples/algorithms/comparable_distance.cpp 2011-04-09 16:41:25 EDT (Sat, 09 Apr 2011)
@@ -45,8 +45,8 @@
     }
     
     std::cout
- << "Closest: " << boost::geometry::dsv(minp) << std::endl
- << "At: " << boost::geometry::distance(p, minp) << std::endl;
+ << "Closest: " << boost::geometry::dsv(min_p) << std::endl
+ << "At: " << boost::geometry::distance(p, min_p) << std::endl;
 
     return 0;
 }


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