Hello community, here is the log from the commit of package armadillo for openSUSE:Factory checked in at 2016-11-15 18:02:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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-11-05 21:28:23.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.armadillo.new/armadillo.changes 2016-11-15 18:02:13.000000000 +0100 @@ -1,0 +2,6 @@ +Mon Nov 14 00:25:09 UTC 2016 - [email protected] + +- Update to version 7.500.1: + + Undocumented bug fixes. + +------------------------------------------------------------------- Old: ---- armadillo-7.500.0.tar.xz New: ---- armadillo-7.500.1.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ armadillo.spec ++++++ --- /var/tmp/diff_new_pack.1mmvRT/_old 2016-11-15 18:02:15.000000000 +0100 +++ /var/tmp/diff_new_pack.1mmvRT/_new 2016-11-15 18:02:15.000000000 +0100 @@ -18,7 +18,7 @@ %define soname libarmadillo7 Name: armadillo -Version: 7.500.0 +Version: 7.500.1 Release: 0 Summary: Fast C++ matrix library with interfaces to LAPACK and ATLAS License: MPL-2.0 ++++++ armadillo-7.500.0.tar.xz -> armadillo-7.500.1.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/armadillo-7.500.0/docs.html new/armadillo-7.500.1/docs.html --- old/armadillo-7.500.0/docs.html 2016-06-16 18:16:06.000000000 +0200 +++ new/armadillo-7.500.1/docs.html 2016-06-16 18:16:07.000000000 +0200 @@ -6084,7 +6084,7 @@ <hr class="greyline"> <br> <br> -<font size=+1><b>Generated Vectors/Matrices</b></font> +<font size=+1><b>Generated Vectors/Matrices/Cubes</b></font> <br> <br> @@ -9749,11 +9749,11 @@ <div class="pagebreak"></div><div class="noprint"><hr class="greyline"><br></div> <a name="vectorise"></a> -<b>vectorise( A )</b> -<br><b>vectorise( A, dim )</b> +<b>vectorise( X )</b> +<br><b>vectorise( X, dim )</b> <ul> <li> -Generate a column vector (<i>dim=0</i>) or row vector (<i>dim=1</i>) from matrix <i>A</i> +Generate a column vector (<i>dim=0</i>) or row vector (<i>dim=1</i>) from matrix <i>X</i> </li> <br> <li> @@ -9761,11 +9761,11 @@ </li> <br> <li> -For <i>dim=0</i>, the elements are copied from <i>X</i> column-wise; equivalent to concatenating all the columns of <i>A</i> +For <i>dim=0</i>, the elements are copied from <i>X</i> column-wise; equivalent to concatenating all the columns of <i>X</i> </li> <br> <li> -For <i>dim=1</i>, the elements are copied from <i>X</i> row-wise; equivalent to concatenating all the rows of <i>A</i> +For <i>dim=1</i>, the elements are copied from <i>X</i> row-wise; equivalent to concatenating all the rows of <i>X</i> </li> <br> <li> @@ -9776,9 +9776,9 @@ Examples: <ul> <pre> -mat A = randu<mat>(4, 5); +mat X = randu<mat>(4, 5); -vec v = vectorise(A); +vec v = vectorise(X); </pre> </ul> </li> @@ -10882,7 +10882,7 @@ <ul> <table> <tbody> -<tr><td><code>"none"</code></td><td> </td><td>no selection (default operation)</td></tr> +<tr><td><code>"none"</code></td><td> </td><td>no ordering (default operation)</td></tr> <tr><td><code>"lhp"</code></td><td> </td><td>left-half-plane: eigenvalues with real part < 0</td></tr> <tr><td><code>"rhp"</code></td><td> </td><td>right-half-plane: eigenvalues with real part > 0</td></tr> <tr><td><code>"iuc"</code></td><td> </td><td>inside-unit-circle: eigenvalues with absolute value < 1</td></tr> @@ -15852,8 +15852,10 @@ <a name="api_changes"></a> <b>History of API Additions, Changes and Deprecations</b> <br> +<ul> +<li>API Version Policy: +<br> <br> -<li>API Version Policy <ul> <li> Armadillo's version number is <i>A.B.C</i>, where <i>A</i> is a major version, <i>B</i> is a minor version, and <i>C</i> is the patch level (indicating bug fixes) @@ -15906,7 +15908,7 @@ <li>Version 7.500: <ul> <li>expanded <a href="#qz">qz()</a> to optionally specify ordering of the Schur form</li> -<li>expanded <a href="#each_slice">each_slice()</a> to support matrix multiplication</li> +<li>expanded <a href="#each_slice">.each_slice()</a> to support matrix multiplication</li> </ul> </li> <br> @@ -16494,6 +16496,7 @@ </ul> </li> <br> +</ul> <!-- END CONTENT --> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/armadillo-7.500.0/include/armadillo_bits/arma_version.hpp new/armadillo-7.500.1/include/armadillo_bits/arma_version.hpp --- old/armadillo-7.500.0/include/armadillo_bits/arma_version.hpp 2016-06-16 18:16:06.000000000 +0200 +++ new/armadillo-7.500.1/include/armadillo_bits/arma_version.hpp 2016-06-16 18:16:07.000000000 +0200 @@ -15,7 +15,7 @@ #define ARMA_VERSION_MAJOR 7 #define ARMA_VERSION_MINOR 500 -#define ARMA_VERSION_PATCH 0 +#define ARMA_VERSION_PATCH 1 #define ARMA_VERSION_NAME "Coup d'Etat" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/armadillo-7.500.0/include/armadillo_bits/auxlib_meat.hpp new/armadillo-7.500.1/include/armadillo_bits/auxlib_meat.hpp --- old/armadillo-7.500.0/include/armadillo_bits/auxlib_meat.hpp 2016-06-16 18:16:06.000000000 +0200 +++ new/armadillo-7.500.1/include/armadillo_bits/auxlib_meat.hpp 2016-06-16 18:16:07.000000000 +0200 @@ -317,6 +317,8 @@ arma_extra_debug_print("lapack::trtri()"); lapack::trtri(&uplo, &diag, &n, out.memptr(), &n, &info); + if(info != 0) { return false; } + if(layout == 0) { out = trimatu(out); // upper triangular @@ -326,7 +328,7 @@ out = trimatl(out); // lower triangular } - return (info == 0); + return true; } #else { @@ -377,6 +379,8 @@ arma_extra_debug_print("lapack::sytri()"); lapack::sytri(&uplo, &n, out.memptr(), &n, ipiv.memptr(), work.memptr(), &info); + if(info != 0) { return false; } + if(layout == 0) { out = symmatu(out); @@ -386,7 +390,7 @@ out = symmatl(out); } - return (info == 0); + return true; } #else { @@ -430,9 +434,11 @@ arma_extra_debug_print("lapack::potri()"); lapack::potri(&uplo, &n, out.memptr(), &n, &info); + if(info != 0) { return false; } + out = symmatl(out); - - return (info == 0); + + return true; } #else { @@ -794,8 +800,6 @@ #if defined(ARMA_USE_ATLAS) || defined(ARMA_USE_LAPACK) { - bool status = false; - #if defined(ARMA_USE_ATLAS) { arma_debug_assert_atlas_size(U); @@ -805,7 +809,7 @@ arma_extra_debug_print("atlas::clapack_getrf()"); int info = atlas::clapack_getrf(atlas::CblasColMajor, U_n_rows, U_n_cols, U.memptr(), U_n_rows, ipiv.memptr()); - status = (info >= 0); + if(info < 0) { return false; } } #elif defined(ARMA_USE_LAPACK) { @@ -821,10 +825,10 @@ arma_extra_debug_print("lapack::getrf()"); lapack::getrf(&n_rows, &n_cols, U.memptr(), &n_rows, ipiv.memptr(), &info); + if(info < 0) { return false; } + // take into account that Fortran counts from 1 arrayops::inplace_minus(ipiv.memptr(), blas_int(1), ipiv.n_elem); - - status = (info >= 0); } #endif @@ -849,12 +853,11 @@ } } - return status; + return true; } #else { arma_stop_logic_error("lu(): use of ATLAS or LAPACK must be enabled"); - return false; } #endif @@ -1762,15 +1765,17 @@ arma_debug_assert_blas_size(out); - const uword out_n_rows = out.n_rows; - char uplo = (layout == 0) ? 'U' : 'L'; - blas_int n = blas_int(out_n_rows); + blas_int n = blas_int(out.n_rows); blas_int info = 0; arma_extra_debug_print("lapack::potrf()"); lapack::potrf(&uplo, &n, out.memptr(), &n, &info); + if(info != 0) { return false; } + + const uword out_n_rows = out.n_rows; + if(layout == 0) { for(uword col=0; col < out_n_rows; ++col) @@ -1790,7 +1795,7 @@ } } - return (info == 0); + return true; } #else { @@ -2246,9 +2251,11 @@ arma_extra_debug_print("lapack::gesvd()"); lapack::gesvd<eT>(&jobu, &jobvt, &m, &n, A.memptr(), &lda, S.memptr(), U.memptr(), &ldu, V.memptr(), &ldvt, work.memptr(), &lwork, &info); + if(info != 0) { return false; } + op_strans::apply_mat_inplace(V); - return (info == 0); + return true; } #else { @@ -2325,9 +2332,11 @@ arma_extra_debug_print("lapack::cx_gesvd()"); lapack::cx_gesvd<T>(&jobu, &jobvt, &m, &n, A.memptr(), &lda, S.memptr(), U.memptr(), &ldu, V.memptr(), &ldvt, work.memptr(), &lwork, rwork.memptr(), &info); + if(info != 0) { return false; } + op_htrans::apply_mat_inplace(V); - return (info == 0); + return true; } #else { @@ -2438,9 +2447,11 @@ arma_extra_debug_print("lapack::gesvd()"); lapack::gesvd<eT>(&jobu, &jobvt, &m, &n, A.memptr(), &lda, S.memptr(), U.memptr(), &ldu, V.memptr(), &ldvt, work.memptr(), &lwork, &info); + if(info != 0) { return false; } + op_strans::apply_mat_inplace(V); - return (info == 0); + return true; } #else { @@ -2554,9 +2565,11 @@ arma_extra_debug_print("lapack::cx_gesvd()"); lapack::cx_gesvd<T>(&jobu, &jobvt, &m, &n, A.memptr(), &lda, S.memptr(), U.memptr(), &ldu, V.memptr(), &ldvt, work.memptr(), &lwork, rwork.memptr(), &info); + if(info != 0) { return false; } + op_htrans::apply_mat_inplace(V); - return (info == 0); + return true; } #else { @@ -2774,9 +2787,11 @@ arma_extra_debug_print("lapack::gesdd()"); lapack::gesdd<eT>(&jobz, &m, &n, A.memptr(), &lda, S.memptr(), U.memptr(), &ldu, V.memptr(), &ldvt, work.memptr(), &lwork, iwork.memptr(), &info); + if(info != 0) { return false; } + op_strans::apply_mat_inplace(V); - return (info == 0); + return true; } #else { @@ -2848,9 +2863,11 @@ arma_extra_debug_print("lapack::cx_gesdd()"); lapack::cx_gesdd<T>(&jobz, &m, &n, A.memptr(), &lda, S.memptr(), U.memptr(), &ldu, V.memptr(), &ldvt, work.memptr(), &lwork, rwork.memptr(), iwork.memptr(), &info); + if(info != 0) { return false; } + op_htrans::apply_mat_inplace(V); - return (info == 0); + return true; } #else { @@ -2913,9 +2930,11 @@ arma_extra_debug_print("lapack::gesdd()"); lapack::gesdd<eT>(&jobz, &m, &n, A.memptr(), &lda, S.memptr(), U.memptr(), &ldu, V.memptr(), &ldvt, work.memptr(), &lwork, iwork.memptr(), &info); + if(info != 0) { return false; } + op_strans::apply_mat_inplace(V); - return (info == 0); + return true; } #else { @@ -2988,9 +3007,11 @@ arma_extra_debug_print("lapack::cx_gesdd()"); lapack::cx_gesdd<T>(&jobz, &m, &n, A.memptr(), &lda, S.memptr(), U.memptr(), &ldu, V.memptr(), &ldvt, work.memptr(), &lwork, rwork.memptr(), iwork.memptr(), &info); + if(info != 0) { return false; } + op_htrans::apply_mat_inplace(V); - return (info == 0); + return true; } #else { @@ -3858,12 +3879,14 @@ arma_extra_debug_print("lapack::trsyl()"); lapack::trsyl<eT>(&trana, &tranb, &isgn, &m, &n, T1.memptr(), &m, T2.memptr(), &n, Y.memptr(), &m, &scale, &info); + if(info < 0) { return false; } + //Y /= scale; Y /= (-scale); X = Z1 * Y * trans(Z2); - return (info >= 0); + return true; } #else { @@ -3945,9 +3968,11 @@ &info ); + if(info != 0) { return false; } + op_strans::apply_mat_inplace(vsl); - return (info == 0); + return true; } #else { @@ -4045,9 +4070,11 @@ &info ); + if(info != 0) { return false; } + op_htrans::apply_mat_inplace(vsl); - return (info == 0); + return true; } #else {
