|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r81951 - trunk/boost/geometry/strategies/cartesian
From: barend.gehrels_at_[hidden]
Date: 2012-12-14 16:19:50
Author: barendgehrels
Date: 2012-12-14 16:19:49 EST (Fri, 14 Dec 2012)
New Revision: 81951
URL: http://svn.boost.org/trac/boost/changeset/81951
Log:
[geometry] fix in variable names
Text files modified:
trunk/boost/geometry/strategies/cartesian/distance_pythagoras.hpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/boost/geometry/strategies/cartesian/distance_pythagoras.hpp
==============================================================================
--- trunk/boost/geometry/strategies/cartesian/distance_pythagoras.hpp (original)
+++ trunk/boost/geometry/strategies/cartesian/distance_pythagoras.hpp 2012-12-14 16:19:49 EST (Fri, 14 Dec 2012)
@@ -42,8 +42,8 @@
{
static inline T apply(Point1 const& p1, Point2 const& p2)
{
- T const c1 = boost::numeric_cast<T>(get<I-1>(p2));
- T const c2 = boost::numeric_cast<T>(get<I-1>(p1));
+ T const c1 = boost::numeric_cast<T>(get<I-1>(p1));
+ T const c2 = boost::numeric_cast<T>(get<I-1>(p2));
T const d = c1 - c2;
return d * d + compute_pythagoras<Point1, Point2, I-1, T>::apply(p1, p2);
}
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