simplification
This commit is contained in:
@@ -95,13 +95,10 @@ glue_times_redirect2_helper<true>::apply(Mat<typename T1::elem_type>& out, const
|
||||
|
||||
arma_debug_check( (A.is_square() == false), "inv(): given matrix must be square sized" );
|
||||
|
||||
if(strip_inv<T1>::do_inv_spd)
|
||||
if( (strip_inv<T1>::do_inv_spd) && (arma_config::debug) && (auxlib::rudimentary_sym_check(A) == false) )
|
||||
{
|
||||
if( (arma_config::debug) && (auxlib::rudimentary_sym_check(A) == false) )
|
||||
{
|
||||
if(is_cx<eT>::no ) { arma_debug_warn_level(1, "inv_sympd(): given matrix is not symmetric"); }
|
||||
if(is_cx<eT>::yes) { arma_debug_warn_level(1, "inv_sympd(): given matrix is not hermitian"); }
|
||||
}
|
||||
if(is_cx<eT>::no ) { arma_debug_warn_level(1, "inv_sympd(): given matrix is not symmetric"); }
|
||||
if(is_cx<eT>::yes) { arma_debug_warn_level(1, "inv_sympd(): given matrix is not hermitian"); }
|
||||
}
|
||||
|
||||
const unwrap_check<T2> B_tmp(X.B, out);
|
||||
|
||||
Reference in New Issue
Block a user