Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r84748 - trunk/boost/geometry/index/detail/rtree/rstar
From: adam.wulkiewicz_at_[hidden]
Date: 2013-06-12 06:11:02


Author: awulkiew
Date: 2013-06-12 06:11:02 EDT (Wed, 12 Jun 2013)
New Revision: 84748
URL: http://svn.boost.org/trac/boost/changeset/84748

Log:
[geometry][index] small fix in r* choose_next_node

Text files modified:
   trunk/boost/geometry/index/detail/rtree/rstar/choose_next_node.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/geometry/index/detail/rtree/rstar/choose_next_node.hpp
==============================================================================
--- trunk/boost/geometry/index/detail/rtree/rstar/choose_next_node.hpp Wed Jun 12 04:08:58 2013 (r84747)
+++ trunk/boost/geometry/index/detail/rtree/rstar/choose_next_node.hpp 2013-06-12 06:11:02 EDT (Wed, 12 Jun 2013) (r84748)
@@ -88,8 +88,8 @@
             geometry::expand(box_exp, indexable);
 
             // calculate content and content diff
- content_type content = index::detail::content(ch_i.first);
- content_type content_diff = index::detail::content(box_exp) - content;
+ content_type content = index::detail::content(box_exp);
+ content_type content_diff = content - index::detail::content(ch_i.first);
 
             content_type overlap = 0;
             content_type overlap_exp = 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