"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "include/armadillo_bits/fn_lu.hpp" between
armadillo-10.2.0.tar.xz and armadillo-10.2.1.tar.xz

About: Armadillo is a C++ linear algebra library (matrix maths) aiming towards a good balance between speed and ease of use.

fn_lu.hpp  (armadillo-10.2.0.tar.xz):fn_lu.hpp  (armadillo-10.2.1.tar.xz)
skipping to change at line 34 skipping to change at line 34
( (
Mat<typename T1::elem_type>& L, Mat<typename T1::elem_type>& L,
Mat<typename T1::elem_type>& U, Mat<typename T1::elem_type>& U,
const Base<typename T1::elem_type,T1>& X, const Base<typename T1::elem_type,T1>& X,
const typename arma_blas_type_only<typename T1::elem_type>::result* junk = nul lptr const typename arma_blas_type_only<typename T1::elem_type>::result* junk = nul lptr
) )
{ {
arma_extra_debug_sigprint(); arma_extra_debug_sigprint();
arma_ignore(junk); arma_ignore(junk);
arma_debug_check( (&L == &U), "lu(): L and U are the same object"); arma_debug_check( (&L == &U), "lu(): L and U are the same object" );
const bool status = auxlib::lu(L, U, X); const bool status = auxlib::lu(L, U, X);
if(status == false) if(status == false)
{ {
L.soft_reset(); L.soft_reset();
U.soft_reset(); U.soft_reset();
arma_debug_warn("lu(): decomposition failed"); arma_debug_warn("lu(): decomposition failed");
} }
skipping to change at line 64 skipping to change at line 64
Mat<typename T1::elem_type>& L, Mat<typename T1::elem_type>& L,
Mat<typename T1::elem_type>& U, Mat<typename T1::elem_type>& U,
Mat<typename T1::elem_type>& P, Mat<typename T1::elem_type>& P,
const Base<typename T1::elem_type,T1>& X, const Base<typename T1::elem_type,T1>& X,
const typename arma_blas_type_only<typename T1::elem_type>::result* junk = nul lptr const typename arma_blas_type_only<typename T1::elem_type>::result* junk = nul lptr
) )
{ {
arma_extra_debug_sigprint(); arma_extra_debug_sigprint();
arma_ignore(junk); arma_ignore(junk);
arma_debug_check( ( (&L == &U) || (&L == &P) || (&U == &P) ), "lu(): two or mo re output objects are the same object"); arma_debug_check( ( (&L == &U) || (&L == &P) || (&U == &P) ), "lu(): two or mo re output objects are the same object" );
const bool status = auxlib::lu(L, U, P, X); const bool status = auxlib::lu(L, U, P, X);
if(status == false) if(status == false)
{ {
L.soft_reset(); L.soft_reset();
U.soft_reset(); U.soft_reset();
P.soft_reset(); P.soft_reset();
arma_debug_warn("lu(): decomposition failed"); arma_debug_warn("lu(): decomposition failed");
} }
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)