From 0d2c38571518aa87bfbb159b3a6584acfe47d7ad Mon Sep 17 00:00:00 2001 From: conrad Date: Sat, 14 Jan 2023 02:25:12 +1100 Subject: [PATCH] remove unused variable --- include/armadillo_bits/OpCube_bones.hpp | 6 ------ include/armadillo_bits/OpCube_meat.hpp | 13 ------------- 2 files changed, 19 deletions(-) diff --git a/include/armadillo_bits/OpCube_bones.hpp b/include/armadillo_bits/OpCube_bones.hpp index 5b10a58b..be4f618f 100644 --- a/include/armadillo_bits/OpCube_bones.hpp +++ b/include/armadillo_bits/OpCube_bones.hpp @@ -20,8 +20,6 @@ //! @{ -//! Analog of the Op class, intended for cubes - template class OpCube : public BaseCube< typename T1::elem_type, OpCube > { @@ -30,13 +28,11 @@ class OpCube : public BaseCube< typename T1::elem_type, OpCube > typedef typename T1::elem_type elem_type; typedef typename get_pod_type::result pod_type; - inline explicit OpCube(const BaseCube& in_m); inline OpCube(const BaseCube& in_m, const elem_type in_aux); inline OpCube(const BaseCube& in_m, const elem_type in_aux, const uword in_aux_uword_a, const uword in_aux_uword_b, const uword in_aux_uword_c); inline OpCube(const BaseCube& in_m, const uword in_aux_uword_a, const uword in_aux_uword_b); inline OpCube(const BaseCube& in_m, const uword in_aux_uword_a, const uword in_aux_uword_b, const uword in_aux_uword_c); - inline OpCube(const BaseCube& in_m, const uword in_aux_uword_a, const uword in_aux_uword_b, const uword in_aux_uword_c, const uword in_aux_uword_d, const char junk); inline ~OpCube(); arma_aligned const T1& m; //!< the operand; must be derived from BaseCube @@ -44,8 +40,6 @@ class OpCube : public BaseCube< typename T1::elem_type, OpCube > arma_aligned uword aux_uword_a; //!< auxiliary data, uword format arma_aligned uword aux_uword_b; //!< auxiliary data, uword format arma_aligned uword aux_uword_c; //!< auxiliary data, uword format - arma_aligned uword aux_uword_d; //!< auxiliary data, uword format - }; diff --git a/include/armadillo_bits/OpCube_meat.hpp b/include/armadillo_bits/OpCube_meat.hpp index 57821649..a20d6b9f 100644 --- a/include/armadillo_bits/OpCube_meat.hpp +++ b/include/armadillo_bits/OpCube_meat.hpp @@ -76,19 +76,6 @@ OpCube::OpCube(const BaseCube& in_m, co -template -OpCube::OpCube(const BaseCube& in_m, const uword in_aux_uword_a, const uword in_aux_uword_b, const uword in_aux_uword_c, const uword in_aux_uword_d, const char) - : m(in_m.get_ref()) - , aux_uword_a(in_aux_uword_a) - , aux_uword_b(in_aux_uword_b) - , aux_uword_c(in_aux_uword_c) - , aux_uword_d(in_aux_uword_d) - { - arma_extra_debug_sigprint(); - } - - - template OpCube::~OpCube() {