Boost logo

Boost-Commit :

From: guwi17_at_[hidden]
Date: 2007-09-24 17:01:14


Author: guwi17
Date: 2007-09-24 17:01:11 EDT (Mon, 24 Sep 2007)
New Revision: 39513
URL: http://svn.boost.org/trac/boost/changeset/39513

Log:
- Ticket #1234 : patch committed as suggested.

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

Modified: trunk/boost/numeric/ublas/storage.hpp
==============================================================================
--- trunk/boost/numeric/ublas/storage.hpp (original)
+++ trunk/boost/numeric/ublas/storage.hpp 2007-09-24 17:01:11 EDT (Mon, 24 Sep 2007)
@@ -334,7 +334,7 @@
         bounded_array (const bounded_array &c):
             size_ (c.size_) {
             // ISSUE elements should be copy constructed here, but we must copy instead as already default constructed
- std::copy (c.data_, c.data_ + c.size_, data_);
+ std::copy (c.begin(), c.end(), begin());
         }
         
         // Resizing


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