corrected compile error for vectorization

parent c86c3e72
......@@ -52,7 +52,9 @@ namespace Ph1 {
/// pointers used for the AVX vectorization
/// vectors_avx[i][0][j] denotes the real part of the jth entry of the ith vector
/// vectors_avx[i][1][j] denotes the imaginary part of the jth entry of the ith vector
#ifdef WITH_AVX
double*** vectors_avx;
#endif
public:
/// Defines UID, name and logging level
......@@ -63,7 +65,9 @@ namespace Ph1 {
/// TODO fix me! #if(def) results in segmentation fault
/// Destructor used in the AVX vectorization
#ifdef WITH_AVX
~Capacitor();
#endif
PowerComponent<Complex>::Ptr clone(String name);
......
......@@ -54,7 +54,9 @@ namespace Ph1 {
/// pointers used for the AVX vectorization
/// vectors_avx[i][0][j] denotes the real part of the jth entry of the ith vector
/// vectors_avx[i][1][j] denotes the imaginary part of the jth entry of the ith vector
#ifdef WITH_AVX
double*** vectors_avx;
#endif
public:
/// Defines UID, name, component parameters and logging level
......@@ -68,7 +70,9 @@ namespace Ph1 {
/// TODO fix me! #if(def) results in segmentation fault
/// Destructor used in the AVX vectorization
~Inductor();
#ifdef WITH_AVX
~Inductor();
#endif
PowerComponent<Complex>::Ptr clone(String name);
......
......@@ -41,7 +41,9 @@ namespace Ph1 {
/// pointers used for the AVX vectorization
/// vectors_avx[i][0][j] denotes the real part of the jth entry of the ith vector
/// vectors_avx[i][1][j] denotes the imaginary part of the jth entry of the ith vector
#ifdef WITH_AVX
double*** vectors_avx;
#endif
public:
/// Defines UID, name and logging level
......@@ -52,7 +54,9 @@ namespace Ph1 {
/// TODO fix me! #if(def) results in segmentation fault
/// Destructor used in the AVX vectorization
#ifdef WITH_AVX
~Resistor();
#endif
PowerComponent<Complex>::Ptr clone(String name);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment