unwrap<subview_col> specialisation

This commit is contained in:
conrad
2021-09-14 14:38:20 +10:00
parent 106d15336f
commit 5de154398f
+17
View File
@@ -130,6 +130,23 @@ struct unwrap< Col<eT> >
template<typename eT>
struct unwrap< subview_col<eT> >
{
typedef Col<eT> stored_type;
inline
unwrap(const subview_col<eT>& A)
: M(A.colmem, A.n_rows)
{
arma_extra_debug_sigprint();
}
const Col<eT> M;
};
template<typename out_eT, typename T1, typename T2, typename glue_type>
struct unwrap< mtGlue<out_eT, T1, T2, glue_type> >
{