Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package armadillo for openSUSE:Factory checked in at 2021-06-24 18:22:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/armadillo (Old) and /work/SRC/openSUSE:Factory/.armadillo.new.2625 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "armadillo" Thu Jun 24 18:22:25 2021 rev:149 rq:901476 version:10.5.2 Changes: -------- --- /work/SRC/openSUSE:Factory/armadillo/armadillo.changes 2021-06-04 22:44:23.075185597 +0200 +++ /work/SRC/openSUSE:Factory/.armadillo.new.2625/armadillo.changes 2021-06-24 18:22:39.376921681 +0200 @@ -1,0 +2,6 @@ +Mon Jun 21 00:13:52 UTC 2021 - Atri Bhattacharya <[email protected]> + +- Update to version 10.5.2: + * Undocumented bug fixes. + +------------------------------------------------------------------- Old: ---- armadillo-10.5.1.tar.xz New: ---- armadillo-10.5.2.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ armadillo.spec ++++++ --- /var/tmp/diff_new_pack.47kOFP/_old 2021-06-24 18:22:39.944922310 +0200 +++ /var/tmp/diff_new_pack.47kOFP/_new 2021-06-24 18:22:39.948922315 +0200 @@ -18,7 +18,7 @@ %define soname libarmadillo10 Name: armadillo -Version: 10.5.1 +Version: 10.5.2 Release: 0 Summary: C++ matrix library with interfaces to LAPACK and ATLAS License: Apache-2.0 ++++++ armadillo-10.5.1.tar.xz -> armadillo-10.5.2.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/armadillo-10.5.1/docs.html new/armadillo-10.5.2/docs.html --- old/armadillo-10.5.1/docs.html 2016-06-16 18:23:01.000000000 +0200 +++ new/armadillo-10.5.2/docs.html 2016-06-16 18:23:02.000000000 +0200 @@ -2674,11 +2674,14 @@ Examples: <ul> <pre> -mat A(5,10); A.zeros(); // or: mat A(5,10,fill::zeros); +mat A; +A.zeros(5, 10); // or: mat A(5, 10, fill::zeros); -mat B; B.zeros(10,20); +mat B; +B.zeros( size(A) ); -mat C; C.zeros( size(B) ); +mat C(5, 10, fill::randu); +C.zeros(); </pre> </ul> </li> @@ -2757,11 +2760,14 @@ Examples: <ul> <pre> -mat A(5,10); A.ones(); // or: mat A(5,10,fill::ones); +mat A; +A.ones(5, 10); // or: mat A(5, 10, fill::ones); -mat B; B.ones(10,20); +mat B; +B.ones( size(A) ); -mat C; C.ones( size(B) ); +mat C(5, 10, fill::randu); +C.ones(); </pre> </ul> </li> @@ -2806,11 +2812,14 @@ Examples: <ul> <pre> -mat A(5,5); A.eye(); // or: mat A(5,5,fill::eye); +mat A; +A.eye(5, 5); // or: mat A(5, 5, fill::eye); -mat B; B.eye(5,5); +mat B; +B.eye( size(A) ); -mat C; C.eye( size(B) ); +mat C(5, 5, fill::randu); +C.eye(); </pre> </ul> </li> @@ -2939,11 +2948,14 @@ Examples: <ul> <pre> -mat A(5,10); A.randu(); // or: mat A(5,10,fill::randu); +mat A; +A.randu(5, 10); // or: mat A(5, 10, fill::randu); -mat B; B.randu(10,20); +mat B; +B.randu( size(A) ); -mat C; C.randu( size(B) ); +mat C(5, 10, fill::zeros); +C.randu(); arma_rng::set_seed_random(); // set the seed to a random value </pre> @@ -3043,7 +3055,7 @@ std::uniform_real_distribution<double> distr(0.0, 1.0); -mat A(4,5); +mat A(4, 5, fill:none); A.imbue( [&]() { return distr(engine); } ); </pre> @@ -3392,11 +3404,14 @@ Examples: <ul> <pre> -mat A; A.set_size(5,10); // or: mat A(5,10); +mat A; +A.set_size(5, 10); // or: mat A(5, 10, fill::none); -mat B; B.set_size( size(A) ); // or: mat B( size(A) ); +mat B; +B.set_size( size(A) ); // or: mat B(size(A), fill:none); -vec v; v.set_size(100); // or: vec v(100); +vec v; +v.set_size(100); // or: vec v(100, fill::none); </pre> </ul> </li> @@ -3608,6 +3623,7 @@ <ul> <pre> mat A(5, 6, fill::randu); + mat B; B.copy_size(A); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/armadillo-10.5.1/include/armadillo_bits/Cube_bones.hpp new/armadillo-10.5.2/include/armadillo_bits/Cube_bones.hpp --- old/armadillo-10.5.1/include/armadillo_bits/Cube_bones.hpp 2016-06-16 18:23:01.000000000 +0200 +++ new/armadillo-10.5.2/include/armadillo_bits/Cube_bones.hpp 2016-06-16 18:23:02.000000000 +0200 @@ -404,11 +404,11 @@ inline bool empty() const; inline uword size() const; - inline eT& front(); - inline const eT& front() const; + inline arma_warn_unused eT& front(); + inline arma_warn_unused const eT& front() const; - inline eT& back(); - inline const eT& back() const; + inline arma_warn_unused eT& back(); + inline arma_warn_unused const eT& back() const; inline void swap(Cube& B); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/armadillo-10.5.1/include/armadillo_bits/Cube_meat.hpp new/armadillo-10.5.2/include/armadillo_bits/Cube_meat.hpp --- old/armadillo-10.5.1/include/armadillo_bits/Cube_meat.hpp 2016-06-16 18:23:01.000000000 +0200 +++ new/armadillo-10.5.2/include/armadillo_bits/Cube_meat.hpp 2016-06-16 18:23:02.000000000 +0200 @@ -4943,6 +4943,7 @@ template<typename eT> inline +arma_warn_unused eT& Cube<eT>::front() { @@ -4955,6 +4956,7 @@ template<typename eT> inline +arma_warn_unused const eT& Cube<eT>::front() const { @@ -4967,6 +4969,7 @@ template<typename eT> inline +arma_warn_unused eT& Cube<eT>::back() { @@ -4979,6 +4982,7 @@ template<typename eT> inline +arma_warn_unused const eT& Cube<eT>::back() const { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/armadillo-10.5.1/include/armadillo_bits/Mat_bones.hpp new/armadillo-10.5.2/include/armadillo_bits/Mat_bones.hpp --- old/armadillo-10.5.1/include/armadillo_bits/Mat_bones.hpp 2016-06-16 18:23:01.000000000 +0200 +++ new/armadillo-10.5.2/include/armadillo_bits/Mat_bones.hpp 2016-06-16 18:23:02.000000000 +0200 @@ -726,11 +726,11 @@ inline bool empty() const; inline uword size() const; - inline eT& front(); - inline const eT& front() const; + inline arma_warn_unused eT& front(); + inline arma_warn_unused const eT& front() const; - inline eT& back(); - inline const eT& back() const; + inline arma_warn_unused eT& back(); + inline arma_warn_unused const eT& back() const; inline void swap(Mat& B); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/armadillo-10.5.1/include/armadillo_bits/Mat_meat.hpp new/armadillo-10.5.2/include/armadillo_bits/Mat_meat.hpp --- old/armadillo-10.5.1/include/armadillo_bits/Mat_meat.hpp 2016-06-16 18:23:01.000000000 +0200 +++ new/armadillo-10.5.2/include/armadillo_bits/Mat_meat.hpp 2016-06-16 18:23:02.000000000 +0200 @@ -9025,6 +9025,7 @@ template<typename eT> inline +arma_warn_unused eT& Mat<eT>::front() { @@ -9037,6 +9038,7 @@ template<typename eT> inline +arma_warn_unused const eT& Mat<eT>::front() const { @@ -9049,6 +9051,7 @@ template<typename eT> inline +arma_warn_unused eT& Mat<eT>::back() { @@ -9061,6 +9064,7 @@ template<typename eT> inline +arma_warn_unused const eT& Mat<eT>::back() const { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/armadillo-10.5.1/include/armadillo_bits/arma_config.hpp new/armadillo-10.5.2/include/armadillo_bits/arma_config.hpp --- old/armadillo-10.5.1/include/armadillo_bits/arma_config.hpp 2016-06-16 18:23:01.000000000 +0200 +++ new/armadillo-10.5.2/include/armadillo_bits/arma_config.hpp 2016-06-16 18:23:02.000000000 +0200 @@ -121,6 +121,8 @@ || defined(ARMA_EXTRA_SPMAT_PROTO) || defined(ARMA_EXTRA_SPMAT_MEAT) \ || defined(ARMA_EXTRA_SPCOL_PROTO) || defined(ARMA_EXTRA_SPCOL_MEAT) \ || defined(ARMA_EXTRA_SPROW_PROTO) || defined(ARMA_EXTRA_SPROW_MEAT) \ + || defined(ARMA_ALIEN_MEM_ALLOC_FUNCTION) \ + || defined(ARMA_ALIEN_MEM_FREE_FUNCTION) \ ) static constexpr bool extra_code = true; #else diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/armadillo-10.5.1/include/armadillo_bits/arma_version.hpp new/armadillo-10.5.2/include/armadillo_bits/arma_version.hpp --- old/armadillo-10.5.1/include/armadillo_bits/arma_version.hpp 2016-06-16 18:23:01.000000000 +0200 +++ new/armadillo-10.5.2/include/armadillo_bits/arma_version.hpp 2016-06-16 18:23:02.000000000 +0200 @@ -21,7 +21,7 @@ #define ARMA_VERSION_MAJOR 10 #define ARMA_VERSION_MINOR 5 -#define ARMA_VERSION_PATCH 1 +#define ARMA_VERSION_PATCH 2 #define ARMA_VERSION_NAME "Antipodean Fortress" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/armadillo-10.5.1/include/armadillo_bits/compiler_setup.hpp new/armadillo-10.5.2/include/armadillo_bits/compiler_setup.hpp --- old/armadillo-10.5.1/include/armadillo_bits/compiler_setup.hpp 2016-06-16 18:23:01.000000000 +0200 +++ new/armadillo-10.5.2/include/armadillo_bits/compiler_setup.hpp 2016-06-16 18:23:02.000000000 +0200 @@ -414,6 +414,11 @@ #endif +#if (defined(ARMA_ALIEN_MEM_ALLOC_FUNCTION) && !defined(ARMA_ALIEN_MEM_FREE_FUNCTION)) || (!defined(ARMA_ALIEN_MEM_ALLOC_FUNCTION) && defined(ARMA_ALIEN_MEM_FREE_FUNCTION)) + #error "*** both ARMA_ALIEN_MEM_ALLOC_FUNCTION and ARMA_ALIEN_MEM_FREE_FUNCTION must be defined ***" +#endif + + // cleanup diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/armadillo-10.5.1/include/armadillo_bits/diskio_meat.hpp new/armadillo-10.5.2/include/armadillo_bits/diskio_meat.hpp --- old/armadillo-10.5.1/include/armadillo_bits/diskio_meat.hpp 2016-06-16 18:23:01.000000000 +0200 +++ new/armadillo-10.5.2/include/armadillo_bits/diskio_meat.hpp 2016-06-16 18:23:02.000000000 +0200 @@ -1762,6 +1762,18 @@ { std::getline(line_stream, token, ','); + // remove spaces and tabs + if(token.length() > 0) + { + const char c_front = token.front(); + const char c_back = token.back(); + + if( (c_front == ' ') || (c_front == '\t') || (c_back == ' ') || (c_back == '\t') ) + { + token.erase(std::remove_if(token.begin(), token.end(), [](char c) { return ((c == ' ') || (c == '\t')); }), token.end()); + } + } + const size_t token_len = size_t( token.length() ); if(token_len == 0) { col++; continue; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/armadillo-10.5.1/include/armadillo_bits/field_bones.hpp new/armadillo-10.5.2/include/armadillo_bits/field_bones.hpp --- old/armadillo-10.5.1/include/armadillo_bits/field_bones.hpp 2016-06-16 18:23:01.000000000 +0200 +++ new/armadillo-10.5.2/include/armadillo_bits/field_bones.hpp 2016-06-16 18:23:02.000000000 +0200 @@ -86,26 +86,33 @@ template<typename oT2> inline void copy_size(const field<oT2>& x); - arma_inline oT& operator[](const uword i); - arma_inline const oT& operator[](const uword i) const; + arma_inline arma_warn_unused oT& operator[](const uword i); + arma_inline arma_warn_unused const oT& operator[](const uword i) const; - arma_inline oT& at(const uword i); - arma_inline const oT& at(const uword i) const; + arma_inline arma_warn_unused oT& at(const uword i); + arma_inline arma_warn_unused const oT& at(const uword i) const; - arma_inline oT& operator()(const uword i); - arma_inline const oT& operator()(const uword i) const; + arma_inline arma_warn_unused oT& operator()(const uword i); + arma_inline arma_warn_unused const oT& operator()(const uword i) const; - arma_inline oT& at(const uword row, const uword col); - arma_inline const oT& at(const uword row, const uword col) const; + arma_inline arma_warn_unused oT& at(const uword row, const uword col); + arma_inline arma_warn_unused const oT& at(const uword row, const uword col) const; - arma_inline oT& at(const uword row, const uword col, const uword slice); - arma_inline const oT& at(const uword row, const uword col, const uword slice) const; + arma_inline arma_warn_unused oT& at(const uword row, const uword col, const uword slice); + arma_inline arma_warn_unused const oT& at(const uword row, const uword col, const uword slice) const; - arma_inline oT& operator()(const uword row, const uword col); - arma_inline const oT& operator()(const uword row, const uword col) const; + arma_inline arma_warn_unused oT& operator()(const uword row, const uword col); + arma_inline arma_warn_unused const oT& operator()(const uword row, const uword col) const; - arma_inline oT& operator()(const uword row, const uword col, const uword slice); - arma_inline const oT& operator()(const uword row, const uword col, const uword slice) const; + arma_inline arma_warn_unused oT& operator()(const uword row, const uword col, const uword slice); + arma_inline arma_warn_unused const oT& operator()(const uword row, const uword col, const uword slice) const; + + + arma_inline arma_warn_unused oT& front(); + arma_inline arma_warn_unused const oT& front() const; + + arma_inline arma_warn_unused oT& back(); + arma_inline arma_warn_unused const oT& back() const; arma_cold inline field_injector<field> operator<<(const oT& val); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/armadillo-10.5.1/include/armadillo_bits/field_meat.hpp new/armadillo-10.5.2/include/armadillo_bits/field_meat.hpp --- old/armadillo-10.5.1/include/armadillo_bits/field_meat.hpp 2016-06-16 18:23:01.000000000 +0200 +++ new/armadillo-10.5.2/include/armadillo_bits/field_meat.hpp 2016-06-16 18:23:02.000000000 +0200 @@ -470,6 +470,7 @@ //! linear element accessor (treats the field as a vector); no bounds check template<typename oT> arma_inline +arma_warn_unused oT& field<oT>::operator[] (const uword i) { @@ -481,6 +482,7 @@ //! linear element accessor (treats the field as a vector); no bounds check template<typename oT> arma_inline +arma_warn_unused const oT& field<oT>::operator[] (const uword i) const { @@ -492,6 +494,7 @@ //! linear element accessor (treats the field as a vector); no bounds check template<typename oT> arma_inline +arma_warn_unused oT& field<oT>::at(const uword i) { @@ -503,6 +506,7 @@ //! linear element accessor (treats the field as a vector); no bounds check template<typename oT> arma_inline +arma_warn_unused const oT& field<oT>::at(const uword i) const { @@ -514,6 +518,7 @@ //! linear element accessor (treats the field as a vector); bounds checking not done when ARMA_NO_DEBUG is defined template<typename oT> arma_inline +arma_warn_unused oT& field<oT>::operator() (const uword i) { @@ -527,6 +532,7 @@ //! linear element accessor (treats the field as a vector); bounds checking not done when ARMA_NO_DEBUG is defined template<typename oT> arma_inline +arma_warn_unused const oT& field<oT>::operator() (const uword i) const { @@ -540,6 +546,7 @@ //! element accessor; bounds checking not done when ARMA_NO_DEBUG is defined template<typename oT> arma_inline +arma_warn_unused oT& field<oT>::operator() (const uword in_row, const uword in_col) { @@ -553,6 +560,7 @@ //! element accessor; bounds checking not done when ARMA_NO_DEBUG is defined template<typename oT> arma_inline +arma_warn_unused const oT& field<oT>::operator() (const uword in_row, const uword in_col) const { @@ -566,6 +574,7 @@ //! element accessor; bounds checking not done when ARMA_NO_DEBUG is defined template<typename oT> arma_inline +arma_warn_unused oT& field<oT>::operator() (const uword in_row, const uword in_col, const uword in_slice) { @@ -579,6 +588,7 @@ //! element accessor; bounds checking not done when ARMA_NO_DEBUG is defined template<typename oT> arma_inline +arma_warn_unused const oT& field<oT>::operator() (const uword in_row, const uword in_col, const uword in_slice) const { @@ -592,6 +602,7 @@ //! element accessor; no bounds check template<typename oT> arma_inline +arma_warn_unused oT& field<oT>::at(const uword in_row, const uword in_col) { @@ -603,6 +614,7 @@ //! element accessor; no bounds check template<typename oT> arma_inline +arma_warn_unused const oT& field<oT>::at(const uword in_row, const uword in_col) const { @@ -614,6 +626,7 @@ //! element accessor; no bounds check template<typename oT> arma_inline +arma_warn_unused oT& field<oT>::at(const uword in_row, const uword in_col, const uword in_slice) { @@ -625,6 +638,7 @@ //! element accessor; no bounds check template<typename oT> arma_inline +arma_warn_unused const oT& field<oT>::at(const uword in_row, const uword in_col, const uword in_slice) const { @@ -632,6 +646,58 @@ } + +template<typename oT> +arma_inline +arma_warn_unused +oT& +field<oT>::front() + { + arma_debug_check( (n_elem == 0), "field::front(): field is empty" ); + + return (*mem[0]); + } + + + +template<typename oT> +arma_inline +arma_warn_unused +const oT& +field<oT>::front() const + { + arma_debug_check( (n_elem == 0), "field::front(): field is empty" ); + + return (*mem[0]); + } + + + +template<typename oT> +arma_inline +arma_warn_unused +oT& +field<oT>::back() + { + arma_debug_check( (n_elem == 0), "field::back(): field is empty" ); + + return (*mem[n_elem-1]); + } + + + +template<typename oT> +arma_inline +arma_warn_unused +const oT& +field<oT>::back() const + { + arma_debug_check( (n_elem == 0), "field::back(): field is empty" ); + + return (*mem[n_elem-1]); + } + + template<typename oT> arma_cold diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/armadillo-10.5.1/include/armadillo_bits/memory.hpp new/armadillo-10.5.2/include/armadillo_bits/memory.hpp --- old/armadillo-10.5.1/include/armadillo_bits/memory.hpp 2016-06-16 18:23:01.000000000 +0200 +++ new/armadillo-10.5.2/include/armadillo_bits/memory.hpp 2016-06-16 18:23:02.000000000 +0200 @@ -49,7 +49,11 @@ eT* out_memptr; - #if defined(ARMA_USE_TBB_ALLOC) + #if defined(ARMA_ALIEN_MEM_ALLOC_FUNCTION) + { + out_memptr = (eT *) ARMA_ALIEN_MEM_ALLOC_FUNCTION(sizeof(eT)*n_elem); + } + #elif defined(ARMA_USE_TBB_ALLOC) { out_memptr = (eT *) scalable_malloc(sizeof(eT)*n_elem); } @@ -102,7 +106,11 @@ { if(mem == nullptr) { return; } - #if defined(ARMA_USE_TBB_ALLOC) + #if defined(ARMA_ALIEN_MEM_FREE_FUNCTION) + { + ARMA_ALIEN_MEM_FREE_FUNCTION( (void *)(mem) ); + } + #elif defined(ARMA_USE_TBB_ALLOC) { scalable_free( (void *)(mem) ); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/armadillo-10.5.1/include/armadillo_bits/subview_bones.hpp new/armadillo-10.5.2/include/armadillo_bits/subview_bones.hpp --- old/armadillo-10.5.1/include/armadillo_bits/subview_bones.hpp 2016-06-16 18:23:01.000000000 +0200 +++ new/armadillo-10.5.2/include/armadillo_bits/subview_bones.hpp 2016-06-16 18:23:02.000000000 +0200 @@ -117,25 +117,25 @@ inline void randu(); inline void randn(); - inline eT at_alt (const uword ii) const; + inline arma_warn_unused eT at_alt (const uword ii) const; - inline eT& operator[](const uword ii); - inline eT operator[](const uword ii) const; + inline arma_warn_unused eT& operator[](const uword ii); + inline arma_warn_unused eT operator[](const uword ii) const; - inline eT& operator()(const uword ii); - inline eT operator()(const uword ii) const; + inline arma_warn_unused eT& operator()(const uword ii); + inline arma_warn_unused eT operator()(const uword ii) const; - inline eT& operator()(const uword in_row, const uword in_col); - inline eT operator()(const uword in_row, const uword in_col) const; + inline arma_warn_unused eT& operator()(const uword in_row, const uword in_col); + inline arma_warn_unused eT operator()(const uword in_row, const uword in_col) const; - inline eT& at(const uword in_row, const uword in_col); - inline eT at(const uword in_row, const uword in_col) const; + inline arma_warn_unused eT& at(const uword in_row, const uword in_col); + inline arma_warn_unused eT at(const uword in_row, const uword in_col) const; - inline eT& front(); - inline eT front() const; + inline arma_warn_unused eT& front(); + inline arma_warn_unused eT front() const; - inline eT& back(); - inline eT back() const; + inline arma_warn_unused eT& back(); + inline arma_warn_unused eT back() const; arma_inline eT* colptr(const uword in_col); arma_inline const eT* colptr(const uword in_col) const; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/armadillo-10.5.1/include/armadillo_bits/subview_meat.hpp new/armadillo-10.5.2/include/armadillo_bits/subview_meat.hpp --- old/armadillo-10.5.1/include/armadillo_bits/subview_meat.hpp 2016-06-16 18:23:01.000000000 +0200 +++ new/armadillo-10.5.2/include/armadillo_bits/subview_meat.hpp 2016-06-16 18:23:02.000000000 +0200 @@ -1210,6 +1210,7 @@ template<typename eT> inline +arma_warn_unused eT subview<eT>::at_alt(const uword ii) const { @@ -1220,6 +1221,7 @@ template<typename eT> inline +arma_warn_unused eT& subview<eT>::operator[](const uword ii) { @@ -1235,6 +1237,7 @@ template<typename eT> inline +arma_warn_unused eT subview<eT>::operator[](const uword ii) const { @@ -1250,6 +1253,7 @@ template<typename eT> inline +arma_warn_unused eT& subview<eT>::operator()(const uword ii) { @@ -1267,6 +1271,7 @@ template<typename eT> inline +arma_warn_unused eT subview<eT>::operator()(const uword ii) const { @@ -1284,6 +1289,7 @@ template<typename eT> inline +arma_warn_unused eT& subview<eT>::operator()(const uword in_row, const uword in_col) { @@ -1298,6 +1304,7 @@ template<typename eT> inline +arma_warn_unused eT subview<eT>::operator()(const uword in_row, const uword in_col) const { @@ -1312,6 +1319,7 @@ template<typename eT> inline +arma_warn_unused eT& subview<eT>::at(const uword in_row, const uword in_col) { @@ -1324,6 +1332,7 @@ template<typename eT> inline +arma_warn_unused eT subview<eT>::at(const uword in_row, const uword in_col) const { @@ -1336,6 +1345,7 @@ template<typename eT> inline +arma_warn_unused eT& subview<eT>::front() { @@ -1348,6 +1358,7 @@ template<typename eT> inline +arma_warn_unused eT subview<eT>::front() const { @@ -1360,6 +1371,7 @@ template<typename eT> inline +arma_warn_unused eT& subview<eT>::back() { @@ -1375,6 +1387,7 @@ template<typename eT> inline +arma_warn_unused eT subview<eT>::back() const {
