2
0
mirror of https://github.com/boostorg/ublas.git synced 2026-02-21 15:32:12 +00:00
* merged [54232] into release 



[SVN r56627]
This commit is contained in:
Gunter Winkler
2009-10-06 23:53:19 +00:00
parent 7f5c3e598e
commit de89f982bf

View File

@@ -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));
}