|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r74146 - trunk/boost/geometry/algorithms/detail
From: barend.gehrels_at_[hidden]
Date: 2011-08-30 06:00:23
Author: barendgehrels
Date: 2011-08-30 06:00:22 EDT (Tue, 30 Aug 2011)
New Revision: 74146
URL: http://svn.boost.org/trac/boost/changeset/74146
Log:
Removed using double for highest/lowest as it is not appropriate for e.g. rational
Text files modified:
trunk/boost/geometry/algorithms/detail/assign_values.hpp | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)
Modified: trunk/boost/geometry/algorithms/detail/assign_values.hpp
==============================================================================
--- trunk/boost/geometry/algorithms/detail/assign_values.hpp (original)
+++ trunk/boost/geometry/algorithms/detail/assign_values.hpp 2011-08-30 06:00:22 EDT (Tue, 30 Aug 2011)
@@ -90,14 +90,7 @@
static inline void apply(BoxOrSegment& geometry)
{
- typedef typename coordinate_type<point_type>::type coordinate_type;
-
- typedef typename boost::mpl::if_
- <
- typename boost::is_arithmetic<coordinate_type>::type,
- coordinate_type,
- double
- >::type bound_type;
+ typedef typename coordinate_type<point_type>::type bound_type;
initialize
<
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