take into account inf and nan

This commit is contained in:
conrad
2025-05-20 01:03:12 +10:00
parent 6fd0ff0d0f
commit 69e7c73b34
2 changed files with 0 additions and 4 deletions
@@ -253,8 +253,6 @@ SpSubview_col_list<eT,T1>::operator*= (const eT val)
{
arma_debug_sigprint();
if(val == eT(0)) { (*this).zeros(); return; }
SpMat<eT>& m_local = const_cast< SpMat<eT>& >(m);
const umat& ci = U_ci.M;
@@ -134,8 +134,6 @@ spdiagview<eT>::operator*=(const eT val)
{
arma_debug_sigprint();
if(val == eT(0)) { (*this).zeros(); return; }
SpMat<eT>& t_m = const_cast< SpMat<eT>& >(m);
const uword t_n_elem = n_elem;