Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package armadillo for openSUSE:Factory checked in at 2022-01-03 10:50:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/armadillo (Old) and /work/SRC/openSUSE:Factory/.armadillo.new.1896 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "armadillo" Mon Jan 3 10:50:03 2022 rev:157 rq:943501 version:10.7.6 Changes: -------- --- /work/SRC/openSUSE:Factory/armadillo/armadillo.changes 2021-12-27 16:07:42.753713888 +0100 +++ /work/SRC/openSUSE:Factory/.armadillo.new.1896/armadillo.changes 2022-01-03 10:50:46.231611490 +0100 @@ -1,0 +2,7 @@ +Fri Dec 31 18:00:35 UTC 2021 - Atri Bhattacharya <badshah...@gmail.com> + +- Update to version 10.7.6: + * Undocumented bug fixes. +- Drop conditionals for obsolete openSUSE versions. + +------------------------------------------------------------------- Old: ---- armadillo-10.7.5.tar.xz New: ---- armadillo-10.7.6.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ armadillo.spec ++++++ --- /var/tmp/diff_new_pack.4Zq8Pl/_old 2022-01-03 10:50:46.751611689 +0100 +++ /var/tmp/diff_new_pack.4Zq8Pl/_new 2022-01-03 10:50:46.755611690 +0100 @@ -18,7 +18,7 @@ %define soname libarmadillo10 Name: armadillo -Version: 10.7.5 +Version: 10.7.6 Release: 0 Summary: C++ matrix library with interfaces to LAPACK and ATLAS License: Apache-2.0 @@ -59,9 +59,7 @@ %package doc Summary: Documentation for %{name} Group: Documentation/Other -%if 0%{?suse_version} > 1110 BuildArch: noarch -%endif %description doc Armadillo is a C++ linear algebra library (matrix maths). ++++++ armadillo-10.7.5.tar.xz -> armadillo-10.7.6.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/armadillo-10.7.5/include/armadillo_bits/arma_version.hpp new/armadillo-10.7.6/include/armadillo_bits/arma_version.hpp --- old/armadillo-10.7.5/include/armadillo_bits/arma_version.hpp 2016-06-16 18:24:05.000000000 +0200 +++ new/armadillo-10.7.6/include/armadillo_bits/arma_version.hpp 2016-06-16 18:24:06.000000000 +0200 @@ -23,7 +23,7 @@ #define ARMA_VERSION_MAJOR 10 #define ARMA_VERSION_MINOR 7 -#define ARMA_VERSION_PATCH 5 +#define ARMA_VERSION_PATCH 6 #define ARMA_VERSION_NAME "Entropy Maximiser" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/armadillo-10.7.5/include/armadillo_bits/constants.hpp new/armadillo-10.7.6/include/armadillo_bits/constants.hpp --- old/armadillo-10.7.5/include/armadillo_bits/constants.hpp 2016-06-16 18:24:05.000000000 +0200 +++ new/armadillo-10.7.6/include/armadillo_bits/constants.hpp 2016-06-16 18:24:06.000000000 +0200 @@ -127,6 +127,7 @@ public: static const eT pi; //!< ratio of any circle's circumference to its diameter + static const eT tau; //!< ratio of any circle's circumference to its radius (replacement of 2*pi) static const eT e; //!< base of the natural logarithm static const eT euler; //!< Euler's constant, aka Euler-Mascheroni constant static const eT gratio; //!< golden ratio @@ -177,6 +178,7 @@ // and any smart compiler that does high-precision computation at compile-time template<typename eT> const eT Datum<eT>::pi = eT(3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679); +template<typename eT> const eT Datum<eT>::tau = eT(6.2831853071795864769252867665590057683943387987502116419498891846156328125724179972560696506842341359); template<typename eT> const eT Datum<eT>::e = eT(2.7182818284590452353602874713526624977572470936999595749669676277240766303535475945713821785251664274); template<typename eT> const eT Datum<eT>::euler = eT(0.5772156649015328606065120900824024310421593359399235988057672348848677267776646709369470632917467495); template<typename eT> const eT Datum<eT>::gratio = eT(1.6180339887498948482045868343656381177203091798057628621354486227052604628189024497072072041893911374); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/armadillo-10.7.5/include/armadillo_bits/glue_solve_meat.hpp new/armadillo-10.7.6/include/armadillo_bits/glue_solve_meat.hpp --- old/armadillo-10.7.5/include/armadillo_bits/glue_solve_meat.hpp 2016-06-16 18:24:05.000000000 +0200 +++ new/armadillo-10.7.6/include/armadillo_bits/glue_solve_meat.hpp 2016-06-16 18:24:06.000000000 +0200 @@ -116,7 +116,7 @@ const bool is_tril = (no_trimat || refine || equilibrate || likely_sympd || is_band || is_triu) ? false : trimat_helper::is_tril(A); #if defined(ARMA_OPTIMISE_SYMPD) - const bool try_sympd = (no_sympd || auxlib::crippled_lapack(A) || is_band || is_triu || is_tril) ? false : (likely_sympd ? true : sympd_helper::guess_sympd(A)); + const bool try_sympd = (no_sympd || auxlib::crippled_lapack(A) || is_band || is_triu || is_tril) ? false : (likely_sympd ? true : sympd_helper::guess_sympd(A, uword(16))); #else const bool try_sympd = false; #endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/armadillo-10.7.5/include/armadillo_bits/op_cond_meat.hpp new/armadillo-10.7.6/include/armadillo_bits/op_cond_meat.hpp --- old/armadillo-10.7.5/include/armadillo_bits/op_cond_meat.hpp 2016-06-16 18:24:05.000000000 +0200 +++ new/armadillo-10.7.6/include/armadillo_bits/op_cond_meat.hpp 2016-06-16 18:24:06.000000000 +0200 @@ -89,7 +89,7 @@ } #if defined(ARMA_OPTIMISE_SYMPD) - const bool try_sympd = auxlib::crippled_lapack(A) ? false : sympd_helper::guess_sympd_anysize(A); + const bool try_sympd = auxlib::crippled_lapack(A) ? false : sympd_helper::guess_sympd(A); #else const bool try_sympd = false; #endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/armadillo-10.7.5/include/armadillo_bits/op_expmat_meat.hpp new/armadillo-10.7.6/include/armadillo_bits/op_expmat_meat.hpp --- old/armadillo-10.7.5/include/armadillo_bits/op_expmat_meat.hpp 2016-06-16 18:24:05.000000000 +0200 +++ new/armadillo-10.7.6/include/armadillo_bits/op_expmat_meat.hpp 2016-06-16 18:24:06.000000000 +0200 @@ -86,7 +86,7 @@ } #if defined(ARMA_OPTIMISE_SYMPD) - const bool try_sympd = sympd_helper::guess_sympd_anysize(A); + const bool try_sympd = sympd_helper::guess_sympd(A); #else const bool try_sympd = false; #endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/armadillo-10.7.5/include/armadillo_bits/op_inv_meat.hpp new/armadillo-10.7.6/include/armadillo_bits/op_inv_meat.hpp --- old/armadillo-10.7.5/include/armadillo_bits/op_inv_meat.hpp 2016-06-16 18:24:05.000000000 +0200 +++ new/armadillo-10.7.6/include/armadillo_bits/op_inv_meat.hpp 2016-06-16 18:24:06.000000000 +0200 @@ -89,7 +89,7 @@ if(is_triu || is_tril) { return auxlib::inv_tr(out, ((is_triu) ? uword(0) : uword(1))); } #if defined(ARMA_OPTIMISE_SYMPD) - const bool try_sympd = sympd_helper::guess_sympd_anysize(out); + const bool try_sympd = sympd_helper::guess_sympd(out); #else const bool try_sympd = false; #endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/armadillo-10.7.5/include/armadillo_bits/op_logmat_meat.hpp new/armadillo-10.7.6/include/armadillo_bits/op_logmat_meat.hpp --- old/armadillo-10.7.5/include/armadillo_bits/op_logmat_meat.hpp 2016-06-16 18:24:05.000000000 +0200 +++ new/armadillo-10.7.6/include/armadillo_bits/op_logmat_meat.hpp 2016-06-16 18:24:06.000000000 +0200 @@ -135,7 +135,7 @@ } #if defined(ARMA_OPTIMISE_SYMPD) - const bool try_sympd = sympd_helper::guess_sympd_anysize(A); + const bool try_sympd = sympd_helper::guess_sympd(A); #else const bool try_sympd = false; #endif @@ -308,7 +308,7 @@ } #if defined(ARMA_OPTIMISE_SYMPD) - const bool try_sympd = sympd_helper::guess_sympd_anysize(S); + const bool try_sympd = sympd_helper::guess_sympd(S); #else const bool try_sympd = false; #endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/armadillo-10.7.5/include/armadillo_bits/op_pinv_meat.hpp new/armadillo-10.7.6/include/armadillo_bits/op_pinv_meat.hpp --- old/armadillo-10.7.5/include/armadillo_bits/op_pinv_meat.hpp 2016-06-16 18:24:05.000000000 +0200 +++ new/armadillo-10.7.6/include/armadillo_bits/op_pinv_meat.hpp 2016-06-16 18:24:06.000000000 +0200 @@ -69,7 +69,7 @@ if(A.is_empty()) { out.set_size(n_cols,n_rows); return true; } #if defined(ARMA_OPTIMISE_SYMPD) - const bool try_sympd = (auxlib::crippled_lapack(A) == false) && (tol == T(0)) && (method_id == uword(0)) && sympd_helper::guess_sympd_anysize(A); + const bool try_sympd = (auxlib::crippled_lapack(A) == false) && (tol == T(0)) && (method_id == uword(0)) && sympd_helper::guess_sympd(A); #else const bool try_sympd = false; #endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/armadillo-10.7.5/include/armadillo_bits/op_powmat_meat.hpp new/armadillo-10.7.6/include/armadillo_bits/op_powmat_meat.hpp --- old/armadillo-10.7.5/include/armadillo_bits/op_powmat_meat.hpp 2016-06-16 18:24:05.000000000 +0200 +++ new/armadillo-10.7.6/include/armadillo_bits/op_powmat_meat.hpp 2016-06-16 18:24:06.000000000 +0200 @@ -208,7 +208,7 @@ } #if defined(ARMA_OPTIMISE_SYMPD) - const bool try_sympd = sympd_helper::guess_sympd_anysize(A); + const bool try_sympd = sympd_helper::guess_sympd(A); #else const bool try_sympd = false; #endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/armadillo-10.7.5/include/armadillo_bits/op_sqrtmat_meat.hpp new/armadillo-10.7.6/include/armadillo_bits/op_sqrtmat_meat.hpp --- old/armadillo-10.7.5/include/armadillo_bits/op_sqrtmat_meat.hpp 2016-06-16 18:24:05.000000000 +0200 +++ new/armadillo-10.7.6/include/armadillo_bits/op_sqrtmat_meat.hpp 2016-06-16 18:24:06.000000000 +0200 @@ -140,7 +140,7 @@ } #if defined(ARMA_OPTIMISE_SYMPD) - const bool try_sympd = sympd_helper::guess_sympd_anysize(A); + const bool try_sympd = sympd_helper::guess_sympd(A); #else const bool try_sympd = false; #endif @@ -341,7 +341,7 @@ } #if defined(ARMA_OPTIMISE_SYMPD) - const bool try_sympd = sympd_helper::guess_sympd_anysize(S); + const bool try_sympd = sympd_helper::guess_sympd(S); #else const bool try_sympd = false; #endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/armadillo-10.7.5/include/armadillo_bits/sympd_helper.hpp new/armadillo-10.7.6/include/armadillo_bits/sympd_helper.hpp --- old/armadillo-10.7.5/include/armadillo_bits/sympd_helper.hpp 2016-06-16 18:24:05.000000000 +0200 +++ new/armadillo-10.7.6/include/armadillo_bits/sympd_helper.hpp 2016-06-16 18:24:06.000000000 +0200 @@ -215,9 +215,9 @@ bool guess_sympd(const Mat<eT>& A) { - // analyse matrices with size >= 16x16 + // analyse matrices with size >= 4x4 - if((A.n_rows != A.n_cols) || (A.n_rows < uword(16))) { return false; } + if((A.n_rows != A.n_cols) || (A.n_rows < uword(4))) { return false; } return guess_sympd_worker(A); } @@ -227,11 +227,9 @@ template<typename eT> inline bool -guess_sympd_anysize(const Mat<eT>& A) +guess_sympd(const Mat<eT>& A, const uword min_n_rows) { - // analyse matrices with size >= 2x2 - - if((A.n_rows != A.n_cols) || (A.n_rows < uword(2))) { return false; } + if((A.n_rows != A.n_cols) || (A.n_rows < min_n_rows)) { return false; } return guess_sympd_worker(A); }