Hello community, here is the log from the commit of package armadillo for openSUSE:Factory checked in at 2016-08-05 18:17:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/armadillo (Old) and /work/SRC/openSUSE:Factory/.armadillo.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "armadillo" Changes: -------- --- /work/SRC/openSUSE:Factory/armadillo/armadillo.changes 2016-07-30 00:28:19.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.armadillo.new/armadillo.changes 2016-08-05 18:17:14.000000000 +0200 @@ -1,0 +2,6 @@ +Fri Jul 29 01:45:47 UTC 2016 - badshah...@gmail.com + +- Update to version 7.300.1: + + Undocumented bug fixes. + +------------------------------------------------------------------- Old: ---- armadillo-7.300.0.tar.xz New: ---- armadillo-7.300.1.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ armadillo.spec ++++++ --- /var/tmp/diff_new_pack.l8rJkn/_old 2016-08-05 18:17:15.000000000 +0200 +++ /var/tmp/diff_new_pack.l8rJkn/_new 2016-08-05 18:17:15.000000000 +0200 @@ -19,7 +19,7 @@ %define soname libarmadillo7 Name: armadillo -Version: 7.300.0 +Version: 7.300.1 Release: 0 Summary: Fast C++ matrix library with interfaces to LAPACK and ATLAS License: MPL-2.0 ++++++ armadillo-7.300.0.tar.xz -> armadillo-7.300.1.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/armadillo-7.300.0/README.txt new/armadillo-7.300.1/README.txt --- old/armadillo-7.300.0/README.txt 2016-06-16 18:16:00.000000000 +0200 +++ new/armadillo-7.300.1/README.txt 2016-06-16 18:16:01.000000000 +0200 @@ -208,10 +208,10 @@ If you want to use Armadillo without installation (not recommended), compile along these lines: - g++ example1.cpp -o example1 -O2 -I /home/blah/armadillo-7.200.2/include -DARMA_DONT_USE_WRAPPER -lblas -llapack + g++ example1.cpp -o example1 -O2 -I /home/blah/armadillo-7.200.3/include -DARMA_DONT_USE_WRAPPER -lblas -llapack The above command line assumes that you have unpacked the armadillo archive into /home/blah/ -You will need to adjust this for later versions of Armadillo, +You will need to adjust this for later versions of Armadillo (ie. change the 7.200.3 part) and/or if you have unpacked the armadillo archive into a different directory. Replace -lblas with -lopenblas if you have OpenBLAS. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/armadillo-7.300.0/include/armadillo_bits/arma_version.hpp new/armadillo-7.300.1/include/armadillo_bits/arma_version.hpp --- old/armadillo-7.300.0/include/armadillo_bits/arma_version.hpp 2016-06-16 18:16:00.000000000 +0200 +++ new/armadillo-7.300.1/include/armadillo_bits/arma_version.hpp 2016-06-16 18:16:01.000000000 +0200 @@ -15,7 +15,7 @@ #define ARMA_VERSION_MAJOR 7 #define ARMA_VERSION_MINOR 300 -#define ARMA_VERSION_PATCH 0 +#define ARMA_VERSION_PATCH 1 #define ARMA_VERSION_NAME "Feral Winter" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/armadillo-7.300.0/include/armadillo_bits/subview_bones.hpp new/armadillo-7.300.1/include/armadillo_bits/subview_bones.hpp --- old/armadillo-7.300.0/include/armadillo_bits/subview_bones.hpp 2016-06-16 18:16:00.000000000 +0200 +++ new/armadillo-7.300.1/include/armadillo_bits/subview_bones.hpp 2016-06-16 18:16:01.000000000 +0200 @@ -248,6 +248,9 @@ inline arma_warn_unused eT min() const; inline arma_warn_unused eT max() const; + inline eT min(uword& index_of_min_val) const; + inline eT max(uword& index_of_max_val) const; + inline arma_warn_unused uword index_min() const; inline arma_warn_unused uword index_max() const; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/armadillo-7.300.0/include/armadillo_bits/subview_meat.hpp new/armadillo-7.300.1/include/armadillo_bits/subview_meat.hpp --- old/armadillo-7.300.0/include/armadillo_bits/subview_meat.hpp 2016-06-16 18:16:00.000000000 +0200 +++ new/armadillo-7.300.1/include/armadillo_bits/subview_meat.hpp 2016-06-16 18:16:01.000000000 +0200 @@ -2840,10 +2840,54 @@ template<typename eT> inline +eT +subview_col<eT>::min(uword& index_of_min_val) const + { + arma_extra_debug_sigprint(); + + if(subview<eT>::n_elem == 0) + { + arma_debug_check(true, "min(): object has no elements"); + + return Datum<eT>::nan; + } + else + { + return op_min::direct_min(colmem, subview<eT>::n_elem, index_of_min_val); + } + } + + + +template<typename eT> +inline +eT +subview_col<eT>::max(uword& index_of_max_val) const + { + arma_extra_debug_sigprint(); + + if(subview<eT>::n_elem == 0) + { + arma_debug_check(true, "max(): object has no elements"); + + return Datum<eT>::nan; + } + else + { + return op_max::direct_max(colmem, subview<eT>::n_elem, index_of_max_val); + } + } + + + +template<typename eT> +inline arma_warn_unused uword subview_col<eT>::index_min() const { + arma_extra_debug_sigprint(); + uword index = 0; if(subview<eT>::n_elem == 0) @@ -2866,6 +2910,8 @@ uword subview_col<eT>::index_max() const { + arma_extra_debug_sigprint(); + uword index = 0; if(subview<eT>::n_elem == 0)