Hello community, here is the log from the commit of package armadillo for openSUSE:Factory checked in at 2016-02-18 11:07:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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-01-28 17:25:54.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.armadillo.new/armadillo.changes 2016-02-18 12:36:51.000000000 +0100 @@ -1,0 +2,6 @@ +Wed Feb 17 00:40:59 UTC 2016 - badshah...@gmail.com + +- Update to version 6.500.5: + + Bug fixes (undocumented by upstream). + +------------------------------------------------------------------- Old: ---- armadillo-6.500.4.tar.gz New: ---- armadillo-6.500.5.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ armadillo.spec ++++++ --- /var/tmp/diff_new_pack.pCZN3U/_old 2016-02-18 12:36:52.000000000 +0100 +++ /var/tmp/diff_new_pack.pCZN3U/_new 2016-02-18 12:36:52.000000000 +0100 @@ -19,7 +19,7 @@ %define soname libarmadillo6 Name: armadillo -Version: 6.500.4 +Version: 6.500.5 Release: 0 Summary: Fast C++ matrix library with interfaces to LAPACK and ATLAS License: MPL-2.0 ++++++ armadillo-6.500.4.tar.gz -> armadillo-6.500.5.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/armadillo-6.500.4/CMakeLists.txt new/armadillo-6.500.5/CMakeLists.txt --- old/armadillo-6.500.4/CMakeLists.txt 2016-01-26 04:26:18.000000000 +0100 +++ new/armadillo-6.500.5/CMakeLists.txt 2016-02-09 15:27:23.000000000 +0100 @@ -16,7 +16,7 @@ set(ARMA_MAJOR 6) set(ARMA_MINOR 500) -set(ARMA_PATCH 4) +set(ARMA_PATCH 5) set(ARMADILLO_VERSION ${ARMA_MAJOR}.${ARMA_MINOR}.${ARMA_PATCH}) message(STATUS "Configuring Armadillo ${ARMADILLO_VERSION}") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/armadillo-6.500.4/README.txt new/armadillo-6.500.5/README.txt --- old/armadillo-6.500.4/README.txt 2016-01-26 04:26:18.000000000 +0100 +++ new/armadillo-6.500.5/README.txt 2016-02-10 08:33:26.000000000 +0100 @@ -8,24 +8,26 @@ 1: Introduction 2: Citation Details - 3: Licenses and Support - 4: Requirements + 3: Licenses + 4: Technical Support - 5: Linux and Mac OS X: Installation - 6: Linux and Mac OS X: Compiling & Linking + 5: Requirements - 7: Windows: Installation - 8: Windows: Compiling & Linking + 6: Linux and Mac OS X: Installation + 7: Linux and Mac OS X: Compiling & Linking - 9: Support for OpenBLAS, Intel MKL and AMD ACML -10: Support for ATLAS + 8: Windows: Installation + 9: Windows: Compiling & Linking -11: Documentation / API Reference Manual -12: MEX Interface to Octave/Matlab +10: Support for OpenBLAS, Intel MKL and AMD ACML +11: Support for ATLAS -13: Bug Reports and Frequently Asked Questions -14: Related Software +12: API Documentation +13: MEX Interface to Octave/Matlab + +14: Bug Reports and Frequently Asked Questions +15: Related Software @@ -75,33 +77,30 @@ -3: Licenses and Support -======================= +3: Licenses +=========== Armadillo is available under 2 licenses: - - open source license (with no support) - - commercial license (with technical support) +- Open source, using the Mozilla Public License (MPL) 2.0. + See the "LICENSE.txt" file for details. + +- Non-open source (commercial) license, available for purchase. + Please contact Conrad Sanderson for more information: + http://conradsanderson.id.au -The open source edition uses the Mozilla Public License v2.0 (MPL), -unless specified otherwise. See the "LICENSE.txt" file for license details. -The MPL license requirements state that if you distribute any part -of the library in executable form (including software & hardware products), -then you must tell the recipients how to obtain a copy of the library source code -at a charge no more than the cost of distribution to the recipient. -The requirements apply to both original and modified versions of the library. -Any modifications to the library are automatically licensed under the MPL. -The commercial license does not have the above requirements, -and comes with technical support. +4: Technical Support +==================== -To obtain more information about the commercial license, -please contact Conrad Sanderson: http://conradsanderson.id.au +You can purchase technical support on a commercial basis. +Please contact Conrad Sanderson for more information: +http://conradsanderson.id.au -4: Requirements +5: Requirements =============== Armadillo makes extensive use of template meta-programming, recursive templates @@ -123,14 +122,9 @@ -5: Linux and Mac OS X: Installation +6: Linux and Mac OS X: Installation =================================== -You can install Armadillo on your system using the procedure detailed below, -or use Armadillo without installation (detailed in section 6). - -Installation procedure: - * Step 1: Ensure a C++ compiler is installed on your system. @@ -148,23 +142,20 @@ On Mac OS X systems, you can get CMake through MacPorts or Homebrew. * Step 3: - Ensure LAPACK and BLAS (or their equivalents) are installed on your system. + Ensure LAPACK and BLAS are installed on your system. On Mac OS X this is not necessary. + For better performance, we recommend installing the OpenBLAS library. + See http://xianyi.github.com/OpenBLAS/ + If you are using sparse matrices, also install ARPACK and SuperLU. Caveat: only SuperLU version 4.3 can be used! On Linux-based systems, the following libraries are recommended - to be present: LAPACK, BLAS, ARPACK, SuperLU and ATLAS. - LAPACK and BLAS are the most important. It is also necessary to - install the corresponding development files for each library. - For example, when installing the "lapack" package, also install - the "lapack-devel" or "lapack-dev" package. - - Caveat: - For better performance, we recommend using the multi-threaded - OpenBLAS library instead of standard BLAS. - See http://xianyi.github.com/OpenBLAS/ + to be present: OpenBLAS, LAPACK, SuperLU and ARPACK. + It is also necessary to install the corresponding development + files for each library. For example, when installing the "lapack" + package, also install the "lapack-devel" or "lapack-dev" package. * Step 4: Open a terminal window, change into the directory that was created @@ -174,11 +165,11 @@ make The full stop separated from "cmake" by a space is important. - CMake will figure out what other libraries are currently installed + CMake will detect which relevant libraries are installed on your system + (eg. OpenBLAS, LAPACK, SuperLU, ARPACK, etc) and will modify Armadillo's configuration correspondingly. - CMake will also generate a run-time armadillo library, which is a - wrapper for all the relevant libraries present on your system - (eg. LAPACK, BLAS, ARPACK, SuperLU, ATLAS). + CMake will also generate a run-time armadillo library, + which is a wrapper for all the detected libraries. If you need to re-run cmake, it's a good idea to first delete the "CMakeCache.txt" file (not "CMakeLists.txt"). @@ -204,7 +195,7 @@ -6: Linux and Mac OS X: Compiling & Linking +7: Linux and Mac OS X: Compiling & Linking ========================================== The "examples" directory contains several quick example programs @@ -214,34 +205,20 @@ g++ example1.cpp -o example1 -O2 -larmadillo -If you want to use Armadillo without installation, -or you're getting linking errors, compile along these lines: +If you want to use Armadillo without installation (not recommended), +compile along these lines: - g++ example1.cpp -o example1 -O2 -I /home/blah/armadillo-6.500.4/include -DARMA_DONT_USE_WRAPPER -lblas -llapack + g++ example1.cpp -o example1 -O2 -I /home/blah/armadillo-6.500.5/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, and/or if you have unpacked the armadillo archive into a different directory. +Replace -lblas with -lopenblas if you have OpenBLAS. +On Mac OS X, replace -lblas -llapack with -framework Accelerate -Notes: - -* To use the high speed OpenBLAS library instead of BLAS, - replace -lblas -llapack with -lopenblas -llapack - To get OpenBLAS, see http://xianyi.github.com/OpenBLAS/ - -* On most Linux-based systems, using -lblas -llapack should be enough; - however, on Ubuntu and Debian you may need to add -lgfortran - -* On Mac OS X, replace -lblas -llapack with -framework Accelerate - -* If you have ARPACK present, also link with it by adding -larpack to the command line - -* If you have SuperLU present, also link with it by adding -lsuperlu to the command line - Caveat: only SuperLU version 4.3 can be used! - -7: Windows: Installation +8: Windows: Installation ======================== The installation is comprised of 3 steps: @@ -271,7 +248,7 @@ -8: Windows: Compiling & Linking +9: Windows: Compiling & Linking =============================== Within the "examples" folder, we have included an MSVC project named "example1_win64" @@ -299,7 +276,6 @@ http://icl.cs.utk.edu/lapack-for-windows/lapack/ The OpenBLAS, MKL and ACML libraries are generally the fastest. -See section 9 for more info on making Armadillo use these libraries. For better performance, we recommend the following high-quality C++ compilers: GCC from MinGW: http://www.mingw.org/ @@ -322,8 +298,8 @@ -9: Support for OpenBLAS, Intel MKL and AMD ACML -=============================================== +10: Support for OpenBLAS, Intel MKL and AMD ACML +================================================ Armadillo can use OpenBLAS, or Intel Math Kernel Library (MKL), or the AMD Core Math Library (ACML) as high-speed replacements @@ -370,7 +346,7 @@ -10: Support for ATLAS +11: Support for ATLAS ===================== Armadillo can use the ATLAS library for faster versions of @@ -387,10 +363,10 @@ -11: Documentation / API Reference Manual -======================================== +12: API Documentation +===================== -A reference manual (documentation of functions and classes) is available at: +Documentation of functions and classes is available at: http://arma.sourceforge.net/docs.html @@ -399,7 +375,7 @@ -12: MEX Interface to Octave/Matlab +13: MEX Interface to Octave/Matlab ================================== The "mex_interface" folder contains examples of how to interface @@ -407,7 +383,7 @@ -13: Bug Reports and Frequently Asked Questions +14: Bug Reports and Frequently Asked Questions ============================================== Answers to frequently asked questions can be found at: @@ -429,7 +405,7 @@ -14: Related Software +15: Related Software ==================== * MLPACK: C++ library for machine learning and pattern recognition, built on top of Armadillo. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/armadillo-6.500.4/docs.html new/armadillo-6.500.5/docs.html --- old/armadillo-6.500.4/docs.html 2016-01-26 04:26:18.000000000 +0100 +++ new/armadillo-6.500.5/docs.html 2016-02-10 08:38:09.000000000 +0100 @@ -144,8 +144,9 @@ <!-- --> <a class="noprint" style="display:scroll; position:fixed; bottom:5px; right:5px;" href="#top"><font size=-1>[top]</font></a> +<big><b>API Documentation for Armadillo 6.500</b></big> +<br> <br> -<center><font size=+1><b>API Reference for Armadillo 6.500</b></font></center> <br> @@ -167,7 +168,7 @@ </li> <br> <li> -If you discover any bugs or regressions, please <a href="http://arma.sourceforge.net/faq.html">report them</a> +If you discover any bugs or regressions, please <a href="http://arma.sourceforge.net/support.html">report them</a> </li> <br> <li> @@ -413,15 +414,14 @@ <tr style="background-color: #F5F5F5;"><td><a href="#null">null</a></td><td> </td><td>orthonormal basis of null space</td></tr> <tr style="background-color: #F5F5F5;"><td><a href="#orth">orth</a></td><td> </td><td>orthonormal basis of range space</td></tr> <tr><td><a href="#pinv">pinv</a></td><td> </td><td>pseudo-inverse</td></tr> -<tr><td><a href="#princomp">princomp</a></td><td> </td><td>principal component analysis</td></tr> <tr><td><a href="#qr">qr </a></td><td> </td><td>QR decomposition</td></tr> -<tr style="background-color: #F5F5F5;"><td><a href="#qr_econ">qr_econ</a></td><td> </td><td>economical QR decomposition</td></tr> +<tr><td><a href="#qr_econ">qr_econ</a></td><td> </td><td>economical QR decomposition</td></tr> <tr style="background-color: #F5F5F5;"><td><a href="#qz">qz </a></td><td> </td><td>generalised Schur decomposition</td></tr> <tr style="background-color: #F5F5F5;"><td><a href="#schur">schur</a></td><td> </td><td>Schur decomposition</td></tr> -<tr><td><a href="#solve">solve</a></td><td> </td><td>solve systems of linear equations</td></tr> +<tr style="background-color: #F5F5F5;"><td><a href="#solve">solve</a></td><td> </td><td>solve systems of linear equations</td></tr> <tr><td><a href="#svd">svd</a></td><td> </td><td>singular value decomposition</td></tr> <tr><td><a href="#svd_econ">svd_econ</a></td><td> </td><td>economical singular value decomposition</td></tr> -<tr style="background-color: #F5F5F5;"><td><a href="#syl">syl</a></td><td> </td><td>Sylvester equation solver</td></tr> +<tr><td><a href="#syl">syl</a></td><td> </td><td>Sylvester equation solver</td></tr> </tbody> </table> </ul> @@ -466,8 +466,9 @@ <tr style="background-color: #F5F5F5;"><td><a href="#cor">cor</a></td><td> </td><td>correlation</td></tr> <tr><td><a href="#hist">hist</a></td><td> </td><td>histogram of counts</td></tr> <tr><td><a href="#histc">histc</a></td><td> </td><td>histogram of counts with user specified edges</td></tr> -<tr style="background-color: #F5F5F5;"><td><a href="#running_stat">running_stat</a></td><td> </td><td>running statistics of a continuously sampled one dimensional process/signal</td></tr> -<tr style="background-color: #F5F5F5;"><td><a href="#running_stat_vec">running_stat_vec</a></td><td> </td><td>running statistics of a continuously sampled multi-dimensional process/signal</td></tr> +<tr><td><a href="#princomp">princomp</a></td><td> </td><td>principal component analysis</td></tr> +<tr style="background-color: #F5F5F5;"><td><a href="#running_stat">running_stat</a></td><td> </td><td>running statistics of one dimensional process/signal</td></tr> +<tr style="background-color: #F5F5F5;"><td><a href="#running_stat_vec">running_stat_vec</a></td><td> </td><td>running statistics of multi-dimensional process/signal</td></tr> <tr><td><a href="#kmeans">kmeans</a></td><td> </td><td>cluster data using k-means algorithm</td></tr> <tr><td><a href="#gmm_diag">gmm_diag</a></td><td> </td><td>model data as a Gaussian Mixture Model (GMM)</td></tr> </tbody> @@ -10051,71 +10052,6 @@ </ul> <div class="pagebreak"></div><div class="noprint"><hr class="greyline"><br></div> -<a name="princomp"></a> -<b>mat coeff = princomp( mat X )</b> -<br><b>cx_mat coeff = princomp( cx_mat X )</b><br> - -<br><b>princomp( mat coeff, mat X )</b> -<br><b>princomp( cx_mat coeff, cx_mat X )</b><br> - -<br><b>princomp( mat coeff, mat score, mat X )</b> -<br><b>princomp( cx_mat coeff, cx_mat score, cx_mat X )</b><br> - -<br><b>princomp( mat coeff, mat score, vec latent, mat X )</b> -<br><b>princomp( cx_mat coeff, cx_mat score, vec latent, cx_mat X )</b><br> - -<br><b>princomp( mat coeff, mat score, vec latent, vec tsquared, mat X )</b> -<br><b>princomp( cx_mat coeff, cx_mat score, vec latent, cx_vec tsquared, cx_mat X )</b><br> -<ul> -<li>Principal component analysis of matrix <i>X</i></li><br> -<li>Each row of <i>X</i> is an observation and each column is a variable</li><br> -<li>output objects: -<ul> -<li><i>coeff</i>: principal component coefficients</li> -<li><i>score</i>: projected data</li> -<li><i>latent</i>: eigenvalues of the covariance matrix of <i>X</i></li> -<li><i>tsquared</i>: Hotteling's statistic for each sample</li> -</ul> -</li> -<br> -<li> -The computation is based on singular value decomposition -</li> -<br> -<li>If the decomposition fails: -<ul> -<li><i>coeff = princomp(X)</i> resets <i>coeff</i> and throws a <i>std::runtime_error</i> exception</li> -<li>remaining forms of <i>princomp()</i> reset all output matrices and return a bool set to <i>false</i> (exception is not thrown)</li> -</ul> -</li> -<br> -<li> -Examples: -<ul> -<pre> -mat A = randu<mat>(5,4); - -mat coeff; -mat score; -vec latent; -vec tsquared; - -princomp(coeff, score, latent, tsquared, A); -</pre> -</ul> -</li> -<br> -<li> -See also: -<ul> -<li><a href="http://en.wikipedia.org/wiki/Principal_component_analysis">principal components analysis in Wikipedia</a></li> -<li><a href="http://mathworld.wolfram.com/PrincipalComponentAnalysis.html">principal components analysis in MathWorld</a></li> -</ul> -</li> -<br> -</ul> - -<div class="pagebreak"></div><div class="noprint"><hr class="greyline"><br></div> <a name="qr"></a> <b>qr( Q, R, X )</b> <ul> @@ -11637,6 +11573,71 @@ </ul> </li> <br> +</ul> + +<div class="pagebreak"></div><div class="noprint"><hr class="greyline"><br></div> +<a name="princomp"></a> +<b>mat coeff = princomp( mat X )</b> +<br><b>cx_mat coeff = princomp( cx_mat X )</b><br> + +<br><b>princomp( mat coeff, mat X )</b> +<br><b>princomp( cx_mat coeff, cx_mat X )</b><br> + +<br><b>princomp( mat coeff, mat score, mat X )</b> +<br><b>princomp( cx_mat coeff, cx_mat score, cx_mat X )</b><br> + +<br><b>princomp( mat coeff, mat score, vec latent, mat X )</b> +<br><b>princomp( cx_mat coeff, cx_mat score, vec latent, cx_mat X )</b><br> + +<br><b>princomp( mat coeff, mat score, vec latent, vec tsquared, mat X )</b> +<br><b>princomp( cx_mat coeff, cx_mat score, vec latent, cx_vec tsquared, cx_mat X )</b><br> +<ul> +<li>Principal component analysis of matrix <i>X</i></li><br> +<li>Each row of <i>X</i> is an observation and each column is a variable</li><br> +<li>output objects: +<ul> +<li><i>coeff</i>: principal component coefficients</li> +<li><i>score</i>: projected data</li> +<li><i>latent</i>: eigenvalues of the covariance matrix of <i>X</i></li> +<li><i>tsquared</i>: Hotteling's statistic for each sample</li> +</ul> +</li> +<br> +<li> +The computation is based on singular value decomposition +</li> +<br> +<li>If the decomposition fails: +<ul> +<li><i>coeff = princomp(X)</i> resets <i>coeff</i> and throws a <i>std::runtime_error</i> exception</li> +<li>remaining forms of <i>princomp()</i> reset all output matrices and return a bool set to <i>false</i> (exception is not thrown)</li> +</ul> +</li> +<br> +<li> +Examples: +<ul> +<pre> +mat A = randu<mat>(5,4); + +mat coeff; +mat score; +vec latent; +vec tsquared; + +princomp(coeff, score, latent, tsquared, A); +</pre> +</ul> +</li> +<br> +<li> +See also: +<ul> +<li><a href="http://en.wikipedia.org/wiki/Principal_component_analysis">principal components analysis in Wikipedia</a></li> +<li><a href="http://mathworld.wolfram.com/PrincipalComponentAnalysis.html">principal components analysis in MathWorld</a></li> +</ul> +</li> +<br> </ul> <div class="pagebreak"></div><div class="noprint"><hr class="greyline"><br></div> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/armadillo-6.500.4/include/armadillo_bits/arma_ostream_meat.hpp new/armadillo-6.500.5/include/armadillo_bits/arma_ostream_meat.hpp --- old/armadillo-6.500.4/include/armadillo_bits/arma_ostream_meat.hpp 2015-11-10 05:42:43.000000000 +0100 +++ new/armadillo-6.500.5/include/armadillo_bits/arma_ostream_meat.hpp 2016-02-09 15:06:39.000000000 +0100 @@ -1,4 +1,4 @@ -// Copyright (C) 2008-2015 National ICT Australia (NICTA) +// Copyright (C) 2008-2016 National ICT Australia (NICTA) // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -285,13 +285,17 @@ { if(modify == true) { - const std::streamsize orig_precision = o.precision(); + const ios::fmtflags save_flags = o.flags(); + const std::streamsize save_precision = o.precision(); + o.unsetf(ios::scientific); + o.setf(ios::fixed); o.precision(0); o << eT(0); - o.precision(orig_precision); + o.flags(save_flags); + o.precision(save_precision); } else { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/armadillo-6.500.4/include/armadillo_bits/arma_version.hpp new/armadillo-6.500.5/include/armadillo_bits/arma_version.hpp --- old/armadillo-6.500.4/include/armadillo_bits/arma_version.hpp 2016-01-26 04:26:18.000000000 +0100 +++ new/armadillo-6.500.5/include/armadillo_bits/arma_version.hpp 2016-02-09 15:27:23.000000000 +0100 @@ -15,7 +15,7 @@ #define ARMA_VERSION_MAJOR 6 #define ARMA_VERSION_MINOR 500 -#define ARMA_VERSION_PATCH 4 +#define ARMA_VERSION_PATCH 5 #define ARMA_VERSION_NAME "Gourmet Electron Jumper" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/armadillo-6.500.4/include/armadillo_bits/auxlib_bones.hpp new/armadillo-6.500.5/include/armadillo_bits/auxlib_bones.hpp --- old/armadillo-6.500.4/include/armadillo_bits/auxlib_bones.hpp 2016-01-21 13:52:04.000000000 +0100 +++ new/armadillo-6.500.5/include/armadillo_bits/auxlib_bones.hpp 2016-02-08 17:53:41.000000000 +0100 @@ -63,7 +63,7 @@ // inv_sympd template<typename eT, typename T1> - inline static bool inv_sympd(Mat<eT>& out, const Base<eT,T1>& X, const uword layout); + inline static bool inv_sympd(Mat<eT>& out, const Base<eT,T1>& X); // diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/armadillo-6.500.4/include/armadillo_bits/auxlib_meat.hpp new/armadillo-6.500.5/include/armadillo_bits/auxlib_meat.hpp --- old/armadillo-6.500.4/include/armadillo_bits/auxlib_meat.hpp 2016-01-21 14:10:36.000000000 +0100 +++ new/armadillo-6.500.5/include/armadillo_bits/auxlib_meat.hpp 2016-02-08 17:53:41.000000000 +0100 @@ -404,7 +404,7 @@ template<typename eT, typename T1> inline bool -auxlib::inv_sympd(Mat<eT>& out, const Base<eT,T1>& X, const uword layout) +auxlib::inv_sympd(Mat<eT>& out, const Base<eT,T1>& X) { arma_extra_debug_sigprint(); @@ -418,7 +418,7 @@ arma_debug_assert_blas_size(out); - char uplo = (layout == 0) ? 'U' : 'L'; + char uplo = 'L'; blas_int n = blas_int(out.n_rows); blas_int info = 0; @@ -430,14 +430,7 @@ arma_extra_debug_print("lapack::potri()"); lapack::potri(&uplo, &n, out.memptr(), &n, &info); - if(layout == 0) - { - out = symmatu(out); - } - else - { - out = symmatl(out); - } + out = symmatl(out); return (info == 0); } @@ -445,7 +438,6 @@ { arma_ignore(out); arma_ignore(X); - arma_ignore(layout); arma_stop("inv_sympd(): use of LAPACK must be enabled"); return false; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/armadillo-6.500.4/include/armadillo_bits/compiler_setup.hpp new/armadillo-6.500.5/include/armadillo_bits/compiler_setup.hpp --- old/armadillo-6.500.4/include/armadillo_bits/compiler_setup.hpp 2016-01-25 04:54:16.000000000 +0100 +++ new/armadillo-6.500.5/include/armadillo_bits/compiler_setup.hpp 2016-02-01 05:12:28.000000000 +0100 @@ -383,6 +383,7 @@ #pragma warning(push) #pragma warning(disable: 4127) // conditional expression is constant + #pragma warning(disable: 4244) // possible loss of data when converting types #pragma warning(disable: 4510) // default constructor could not be generated #pragma warning(disable: 4511) // copy constructor can't be generated #pragma warning(disable: 4512) // assignment operator can't be generated diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/armadillo-6.500.4/include/armadillo_bits/fn_inv.hpp new/armadillo-6.500.5/include/armadillo_bits/fn_inv.hpp --- old/armadillo-6.500.4/include/armadillo_bits/fn_inv.hpp 2015-11-23 01:35:18.000000000 +0100 +++ new/armadillo-6.500.5/include/armadillo_bits/fn_inv.hpp 2016-02-08 17:53:41.000000000 +0100 @@ -1,4 +1,4 @@ -// Copyright (C) 2008-2015 National ICT Australia (NICTA) +// Copyright (C) 2008-2016 National ICT Australia (NICTA) // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -250,7 +250,7 @@ { arma_extra_debug_sigprint(); - return inv_sympd(X); + return inv_sympd(out,X); } @@ -267,7 +267,7 @@ { arma_extra_debug_sigprint(); - return inv_sympd(X); + return inv_sympd(out,X); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/armadillo-6.500.4/include/armadillo_bits/fn_misc.hpp new/armadillo-6.500.5/include/armadillo_bits/fn_misc.hpp --- old/armadillo-6.500.4/include/armadillo_bits/fn_misc.hpp 2015-12-13 17:41:43.000000000 +0100 +++ new/armadillo-6.500.5/include/armadillo_bits/fn_misc.hpp 2016-02-09 05:51:40.000000000 +0100 @@ -268,6 +268,8 @@ { arma_extra_debug_sigprint(); + arma_debug_warn("sympd() is deprecated and will be removed; change inv(sympd(X)) to inv_sympd(X)"); + return X.get_ref(); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/armadillo-6.500.4/include/armadillo_bits/op_inv_meat.hpp new/armadillo-6.500.5/include/armadillo_bits/op_inv_meat.hpp --- old/armadillo-6.500.4/include/armadillo_bits/op_inv_meat.hpp 2015-11-22 14:35:22.000000000 +0100 +++ new/armadillo-6.500.5/include/armadillo_bits/op_inv_meat.hpp 2016-02-08 17:53:41.000000000 +0100 @@ -143,7 +143,7 @@ { arma_extra_debug_sigprint(); - const bool status = auxlib::inv_sympd(out, X.m, X.aux_uword_a); + const bool status = auxlib::inv_sympd(out, X.m); if(status == false) {