"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "include/armadillo_bits/fn_spsolve.hpp" between
armadillo-10.8.2.tar.xz and armadillo-11.0.0.tar.xz

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

fn_spsolve.hpp  (armadillo-10.8.2.tar.xz):fn_spsolve.hpp  (armadillo-11.0.0.tar.xz)
skipping to change at line 106 skipping to change at line 106
if(conversion_ok) if(conversion_ok)
{ {
arma_debug_check( (AA.n_rows != AA.n_cols), "spsolve(): matrix A must be s quare sized" ); arma_debug_check( (AA.n_rows != AA.n_cols), "spsolve(): matrix A must be s quare sized" );
uword flags = solve_opts::flag_none; uword flags = solve_opts::flag_none;
if(opts.refine != superlu_opts::REF_NONE) { flags |= solve_opts::fla g_refine; } if(opts.refine != superlu_opts::REF_NONE) { flags |= solve_opts::fla g_refine; }
if(opts.equilibrate == true ) { flags |= solve_opts::fla g_equilibrate; } if(opts.equilibrate == true ) { flags |= solve_opts::fla g_equilibrate; }
if(opts.allow_ugly == true ) { flags |= solve_opts::fla g_allow_ugly; } if(opts.allow_ugly == true ) { flags |= solve_opts::fla g_allow_ugly; }
status = glue_solve_gen::apply(out, AA, B.get_ref(), flags); status = glue_solve_gen_full::apply(out, AA, B.get_ref(), flags);
} }
} }
if( (status == false) && (rcond > T(0)) ) if( (status == false) && (rcond > T(0)) )
{ {
arma_debug_warn_level(2, "spsolve(): system is singular (rcond: ", rcond, ") "); arma_debug_warn_level(2, "spsolve(): system is singular (rcond: ", rcond, ") ");
} }
if( (status == true) && (rcond > T(0)) && (rcond < auxlib::epsilon_lapack(out) ) ) if( (status == true) && (rcond > T(0)) && (rcond < auxlib::epsilon_lapack(out) ) )
{ {
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

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