|
Ublas : |
From: Shun SAKURABA (sakuraba_at_[hidden])
Date: 2005-09-28 03:58:15
Hello,
I posted a bug on Boost's bugtrack two weeks ago.
http://sourceforge.net/tracker/index.php?func=detail&aid=1292635&group_id=7586&atid=107586
Excuse me for having posted it to Boost's SF page;
I didn't know that uBLAS had another page and ML.
subslice() doesn't seem to be compiled on current uBLAS.
I found misspellings on vector_proxy.hpp, so I fixed it and made a patch for that.
Please check whether it is correct.
Thanks to all developpers of uBLAS and Boost.
Regards,
-- Shun SAKURABA
*** vector_proxy.hpp.orig Fri Sep 16 16:24:18 2005
--- vector_proxy.hpp Fri Sep 16 16:18:17 2005
***************
*** 976,988 ****
// Simple Projections
template<class V>
BOOST_UBLAS_INLINE
! vector_slice<V> subslice (V &data, typename V::size_type_t start, typename V::differenece_type stride, typename V::size_type size) {
typedef basic_slice<typename V::size_type, typename V::difference_type> slice_type;
return vector_slice<V> (data, slice_type (start, stride, size));
}
template<class V>
BOOST_UBLAS_INLINE
! vector_slice<const V> subslice (const V &data, typename V::size_type start, typename V::differenece_type stride, typename V::size_type size) {
typedef basic_slice<typename V::size_type, typename V::difference_type> slice_type;
return vector_slice<const V> (data, slice_type (start, stride, size));
}
--- 976,988 ----
// Simple Projections
template<class V>
BOOST_UBLAS_INLINE
! vector_slice<V> subslice (V &data, typename V::size_type start, typename V::difference_type stride, typename V::size_type size) {
typedef basic_slice<typename V::size_type, typename V::difference_type> slice_type;
return vector_slice<V> (data, slice_type (start, stride, size));
}
template<class V>
BOOST_UBLAS_INLINE
! vector_slice<const V> subslice (const V &data, typename V::size_type start, typename V::difference_type stride, typename V::size_type size) {
typedef basic_slice<typename V::size_type, typename V::difference_type> slice_type;
return vector_slice<const V> (data, slice_type (start, stride, size));
}