rearrangement

This commit is contained in:
conrad
2021-01-14 12:40:32 +10:00
parent dcf185a9d8
commit 4880d5a677
+19 -19
View File
@@ -80,25 +80,6 @@ subview<eT>::subview(subview<eT>&& in)
template<typename eT>
inline
void
subview<eT>::operator= (const eT val)
{
arma_extra_debug_sigprint();
if(n_elem != 1)
{
arma_debug_assert_same_size(n_rows, n_cols, 1, 1, "copy into submatrix");
}
Mat<eT>& X = const_cast< Mat<eT>& >(m);
X.at(aux_row1, aux_col1) = val;
}
template<typename eT>
template<typename op_type>
inline
@@ -412,6 +393,25 @@ subview<eT>::inplace_op(const subview<eT>& x, const char* identifier)
template<typename eT>
inline
void
subview<eT>::operator= (const eT val)
{
arma_extra_debug_sigprint();
if(n_elem != 1)
{
arma_debug_assert_same_size(n_rows, n_cols, 1, 1, "copy into submatrix");
}
Mat<eT>& X = const_cast< Mat<eT>& >(m);
X.at(aux_row1, aux_col1) = val;
}
template<typename eT>
inline
void