From de89f982bfa74e4117d71c32bfa3859331feff2a Mon Sep 17 00:00:00 2001 From: Gunter Winkler Date: Tue, 6 Oct 2009 23:53:19 +0000 Subject: [PATCH] see #3108 * merged [54232] into release [SVN r56627] --- include/boost/numeric/ublas/symmetric.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/numeric/ublas/symmetric.hpp b/include/boost/numeric/ublas/symmetric.hpp index 8aede25a..ea1bde51 100644 --- a/include/boost/numeric/ublas/symmetric.hpp +++ b/include/boost/numeric/ublas/symmetric.hpp @@ -1142,7 +1142,7 @@ namespace boost { namespace numeric { namespace ublas { 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 @@ namespace boost { namespace numeric { namespace ublas { 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)); }