From 8bdc676387557541d09de4bb19372d423c9dcdfb Mon Sep 17 00:00:00 2001 From: andyD123 Date: Sun, 22 Oct 2023 20:21:20 +0100 Subject: [PATCH] remove copy warnings (#10) --- Vectorisation/VecX/vec_double.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Vectorisation/VecX/vec_double.h b/Vectorisation/VecX/vec_double.h index 11e3e5d..b53e098 100644 --- a/Vectorisation/VecX/vec_double.h +++ b/Vectorisation/VecX/vec_double.h @@ -203,6 +203,12 @@ class VecDouble return *this; } + VecDouble(const VecDouble& rhs) + { + m_data[0] = rhs.m_data[0]; + m_data[1] = rhs.m_data[1]; + } + VecDouble& load_a(const double* p) { @@ -655,6 +661,13 @@ class VecLDouble return *this; } + VecLDouble(const VecLDouble& rhs) + { + m_data[0] = rhs.m_data[0]; + m_data[1] = rhs.m_data[1]; + + } + VecLDouble& load_a(const long double* p) {