Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r54232 - trunk/boost/numeric/ublas
From: guwi17_at_[hidden]
Date: 2009-06-22 17:13:40


Author: guwi17
Date: 2009-06-22 17:13:40 EDT (Mon, 22 Jun 2009)
New Revision: 54232
URL: http://svn.boost.org/trac/boost/changeset/54232

Log:
see #3108, fixed a simple problem in symmetric.hpp (thx Michael), the storage layout still need more investigation.

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

Modified: trunk/boost/numeric/ublas/symmetric.hpp
==============================================================================
--- trunk/boost/numeric/ublas/symmetric.hpp (original)
+++ trunk/boost/numeric/ublas/symmetric.hpp 2009-06-22 17:13:40 EDT (Mon, 22 Jun 2009)
@@ -1142,7 +1142,7 @@
         BOOST_UBLAS_INLINE
         iterator1 find1 (int rank, size_type i, size_type j) {
             if (rank == 1)
- i = triangular_type::mutable_restrict1 (i, j);
+ i = triangular_type::mutable_restrict1 (i, j, size1(), size2());
             return iterator1 (*this, data ().find1 (rank, i, j));
         }
         BOOST_UBLAS_INLINE
@@ -1172,7 +1172,7 @@
         BOOST_UBLAS_INLINE
         iterator2 find2 (int rank, size_type i, size_type j) {
             if (rank == 1)
- j = triangular_type::mutable_restrict2 (i, j);
+ j = triangular_type::mutable_restrict2 (i, j, size1(), size2());
             return iterator2 (*this, data ().find2 (rank, i, j));
         }
 


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