Skip to content
Snippets Groups Projects
Commit 81c10af4 authored by Cyrille Valladeau's avatar Cyrille Valladeau
Browse files

ENH : moving constructor in prolatefunctor

parent 8bbbccde
No related branches found
No related tags found
No related merge requests found
...@@ -36,6 +36,9 @@ template<class TInput, class TOutput> ...@@ -36,6 +36,9 @@ template<class TInput, class TOutput>
class ProlateFunction class ProlateFunction
{ {
public: public:
ProlateFunction(){ m_Radius = 1; };
~ProlateFunction(){};
typedef std::vector<double> VectorType; typedef std::vector<double> VectorType;
// Accessors definitions // Accessors definitions
void SetRadius(unsigned int rad){ m_Radius = rad; } void SetRadius(unsigned int rad){ m_Radius = rad; }
...@@ -87,9 +90,7 @@ class ProlateFunction ...@@ -87,9 +90,7 @@ class ProlateFunction
static const unsigned int m_OriginalProfileSize; static const unsigned int m_OriginalProfileSize;
/** Original prolate profil */ /** Original prolate profil */
static const double m_OriginalProfile[721]; static const double m_OriginalProfile[721];
protected:
ProlateFunction(){ m_Radius = 1; };
~ProlateFunction(){};
}; };
}//namespace Function }//namespace Function
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment