"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "include/armadillo_bits/podarray_meat.hpp" between
armadillo-10.2.0.tar.xz and armadillo-10.2.1.tar.xz

About: Armadillo is a C++ linear algebra library (matrix maths) aiming towards a good balance between speed and ease of use.

podarray_meat.hpp  (armadillo-10.2.0.tar.xz):podarray_meat.hpp  (armadillo-10.2.1.tar.xz)
skipping to change at line 176 skipping to change at line 176
podarray<eT>::operator[] (const uword i) podarray<eT>::operator[] (const uword i)
{ {
return access::rw(mem[i]); return access::rw(mem[i]);
} }
template<typename eT> template<typename eT>
arma_inline arma_inline
eT eT
podarray<eT>::operator() (const uword i) const podarray<eT>::operator() (const uword i) const
{ {
arma_debug_check( (i >= n_elem), "podarray::operator(): index out of bounds"); arma_debug_check( (i >= n_elem), "podarray::operator(): index out of bounds" ) ;
return mem[i]; return mem[i];
} }
template<typename eT> template<typename eT>
arma_inline arma_inline
eT& eT&
podarray<eT>::operator() (const uword i) podarray<eT>::operator() (const uword i)
{ {
arma_debug_check( (i >= n_elem), "podarray::operator(): index out of bounds"); arma_debug_check( (i >= n_elem), "podarray::operator(): index out of bounds" ) ;
return access::rw(mem[i]); return access::rw(mem[i]);
} }
template<typename eT> template<typename eT>
inline inline
void void
podarray<eT>::set_min_size(const uword min_n_elem) podarray<eT>::set_min_size(const uword min_n_elem)
{ {
arma_extra_debug_sigprint(); arma_extra_debug_sigprint();
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)