2
0
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:
Gunter Winkler
2007-04-16 21:58:23 +00:00
parent 05ccd103e1
commit ded593c1bd

View File

@@ -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