From a638683e6fc7dd213aa53e8bdcde13fbbae23e1d Mon Sep 17 00:00:00 2001 From: conrad Date: Fri, 12 Jun 2026 22:02:22 +1000 Subject: [PATCH] remove unnecessary alignment attribute --- include/armadillo_bits/subview_elem1_bones.hpp | 6 +++--- include/armadillo_bits/subview_elem2_bones.hpp | 13 +++++-------- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/include/armadillo_bits/subview_elem1_bones.hpp b/include/armadillo_bits/subview_elem1_bones.hpp index c7d69818..afa26451 100644 --- a/include/armadillo_bits/subview_elem1_bones.hpp +++ b/include/armadillo_bits/subview_elem1_bones.hpp @@ -35,9 +35,9 @@ class subview_elem1 : public Base< eT, subview_elem1 > static constexpr bool has_subview = true; - arma_aligned const Mat fake_m; - arma_aligned const Mat& m; - arma_aligned const Base& a; + const Mat fake_m; + const Mat& m; + const Base& a; protected: diff --git a/include/armadillo_bits/subview_elem2_bones.hpp b/include/armadillo_bits/subview_elem2_bones.hpp index ca1cde7f..14349e41 100644 --- a/include/armadillo_bits/subview_elem2_bones.hpp +++ b/include/armadillo_bits/subview_elem2_bones.hpp @@ -35,10 +35,10 @@ class subview_elem2 : public Base< eT, subview_elem2 > static constexpr bool has_subview = true; - arma_aligned const Mat& m; + const Mat& m; - arma_aligned const Base& base_ri; - arma_aligned const Base& base_ci; + const Base& base_ri; + const Base& base_ci; const bool all_rows; const bool all_cols; @@ -54,11 +54,8 @@ class subview_elem2 : public Base< eT, subview_elem2 > inline ~subview_elem2(); inline subview_elem2() = delete; - template - inline void inplace_op(const eT val); - - template - inline void inplace_op(const Base& x); + template inline void inplace_op(const eT val); + template inline void inplace_op(const Base& x ); inline void replace(const eT old_val, const eT new_val);