Skip to content

Commit

Permalink
remove copy warnings (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
andyD123 authored Oct 22, 2023
1 parent e5f589f commit 8bdc676
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Vectorisation/VecX/vec_double.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down Expand Up @@ -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)
{
Expand Down

0 comments on commit 8bdc676

Please sign in to comment.