mirror of
https://github.com/boostorg/ublas.git
synced 2026-02-21 15:32:12 +00:00
- fixed bug: removed wrong () in subslice
[SVN r37454]
This commit is contained in:
@@ -4111,7 +4111,7 @@ namespace boost { namespace numeric { namespace ublas {
|
||||
BOOST_UBLAS_INLINE
|
||||
matrix_slice<const M> subslice (const M &data, typename M::size_type start1, typename M::difference_type stride1, typename M::size_type size1, typename M::size_type start2, typename M::difference_type stride2, typename M::size_type size2) {
|
||||
typedef basic_slice<typename M::size_type, typename M::difference_type> slice_type;
|
||||
return matrix_slice<const M> (data (), slice_type (start1, stride1, size1), slice_type (start2, stride2, size2));
|
||||
return matrix_slice<const M> (data, slice_type (start1, stride1, size1), slice_type (start2, stride2, size2));
|
||||
}
|
||||
|
||||
// Generic Projections
|
||||
|
||||
Reference in New Issue
Block a user