remove unnecessary alignment attribute

This commit is contained in:
conrad
2026-06-12 22:02:22 +10:00
parent e299f5e189
commit a638683e6f
2 changed files with 8 additions and 11 deletions
@@ -35,9 +35,9 @@ class subview_elem1 : public Base< eT, subview_elem1<eT,T1> >
static constexpr bool has_subview = true;
arma_aligned const Mat<eT> fake_m;
arma_aligned const Mat<eT>& m;
arma_aligned const Base<uword,T1>& a;
const Mat<eT> fake_m;
const Mat<eT>& m;
const Base<uword,T1>& a;
protected:
@@ -35,10 +35,10 @@ class subview_elem2 : public Base< eT, subview_elem2<eT,T1,T2> >
static constexpr bool has_subview = true;
arma_aligned const Mat<eT>& m;
const Mat<eT>& m;
arma_aligned const Base<uword,T1>& base_ri;
arma_aligned const Base<uword,T2>& base_ci;
const Base<uword,T1>& base_ri;
const Base<uword,T2>& base_ci;
const bool all_rows;
const bool all_cols;
@@ -54,11 +54,8 @@ class subview_elem2 : public Base< eT, subview_elem2<eT,T1,T2> >
inline ~subview_elem2();
inline subview_elem2() = delete;
template<typename op_type>
inline void inplace_op(const eT val);
template<typename op_type, typename expr>
inline void inplace_op(const Base<eT,expr>& x);
template<typename op_type> inline void inplace_op(const eT val);
template<typename op_type, typename expr> inline void inplace_op(const Base<eT,expr>& x );
inline void replace(const eT old_val, const eT new_val);