Boost logo

Boost-Commit :

From: garcia_at_[hidden]
Date: 2007-11-20 10:56:51


Author: garcia
Date: 2007-11-20 10:56:51 EST (Tue, 20 Nov 2007)
New Revision: 41257
URL: http://svn.boost.org/trac/boost/changeset/41257

Log:
Fixes #1461

Text files modified:
   trunk/boost/multi_array.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/multi_array.hpp
==============================================================================
--- trunk/boost/multi_array.hpp (original)
+++ trunk/boost/multi_array.hpp 2007-11-20 10:56:51 EST (Tue, 20 Nov 2007)
@@ -429,12 +429,12 @@
 
     std::transform(new_array.index_base_list_.begin(),
                    new_array.index_base_list_.end(),
- min_extents.begin(),old_idxes.ranges_.begin(),
+ min_extents.begin(),new_idxes.ranges_.begin(),
                    detail::multi_array::populate_index_ranges());
 
     std::transform(this->index_base_list_.begin(),
                    this->index_base_list_.end(),
- min_extents.begin(),new_idxes.ranges_.begin(),
+ min_extents.begin(),old_idxes.ranges_.begin(),
                    detail::multi_array::populate_index_ranges());
 
     // Build same-shape views of the two arrays


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