2
0
mirror of https://github.com/boostorg/ublas.git synced 2026-02-24 04:22:12 +00:00

Fix several problems with two-phase name lookup in ublas.

svn path=/trunk/boost/numeric/ublas/; revision=61759
This commit is contained in:
Douglas Gregor
2010-05-04 15:47:50 +00:00
parent 91645a9a20
commit 4727528ca7

View File

@@ -2016,25 +2016,25 @@ namespace boost { namespace numeric { namespace ublas {
static
BOOST_UBLAS_INLINE
size_type restrict1 (size_type i, size_type j, size_type size1, size_type size2) {
return mutable_restrict1(i, j, size1, size2);
return basic_unit_lower<Z>::mutable_restrict1(i, j, size1, size2);
}
static
BOOST_UBLAS_INLINE
size_type restrict2 (size_type i, size_type j, size_type size1, size_type size2) {
return mutable_restrict2(i, j, size1, size2);
return basic_unit_lower<Z>::mutable_restrict2(i, j, size1, size2);
}
// return an index between the first and (1+last) filled row
static
BOOST_UBLAS_INLINE
size_type global_restrict1 (size_type index1, size_type size1, size_type index2, size_type size2) {
return global_mutable_restrict1(index1, size1, index2, size2);
return basic_unit_lower<Z>::global_mutable_restrict1(index1, size1, index2, size2);
}
// return an index between the first and (1+last) filled column
static
BOOST_UBLAS_INLINE
size_type global_restrict2 (size_type index1, size_type size1, size_type index2, size_type size2) {
return global_mutable_restrict2(index1, size1, index2, size2);
return basic_unit_lower<Z>::global_mutable_restrict2(index1, size1, index2, size2);
}
};