mirror of
https://github.com/boostorg/ublas.git
synced 2026-02-26 17:12:10 +00:00
FIX type in previously missing slice
svn path=/trunk/boost/boost/numeric/ublas/; revision=29980
This commit is contained in:
@@ -216,6 +216,14 @@ namespace boost { namespace numeric { namespace ublas {
|
||||
vector_range_type range (std::size_t start, std::size_t stop) {
|
||||
return vector_range_type (operator () (), default_range (start, stop));
|
||||
}
|
||||
BOOST_UBLAS_INLINE
|
||||
const_vector_slice_type slice (std::size_t start, std::ptrdiff_t stride, std::size_t size) const {
|
||||
return const_vector_slice_type (operator () (), default_slice (start, stride, size));
|
||||
}
|
||||
BOOST_UBLAS_INLINE
|
||||
vector_slice_type slice (std::size_t start, std::ptrdiff_t stride, std::size_t size) {
|
||||
return vector_slice_type (operator () (), default_slice (start, stride, size));
|
||||
}
|
||||
#ifdef BOOST_UBLAS_ENABLE_PROXY_SHORTCUTS
|
||||
BOOST_UBLAS_INLINE
|
||||
const_vector_range_type operator () (const default_range &r) const {
|
||||
|
||||
Reference in New Issue
Block a user