Skip to content
Snippets Groups Projects
Commit 8fff1ece authored by Martin Beseda's avatar Martin Beseda
Browse files

[ENH] Added a default virtual destructor to NormalizationStrategy class.

parent f9e429b6
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,8 @@
BOOST_CLASS_EXPORT_IMPLEMENT(NormalizationStrategy)
BOOST_CLASS_EXPORT_IMPLEMENT(DoubleUnitStrategy)
//NormalizationStrategy::~NormalizationStrategy() = def
double NormalizationStrategy::get_max_value() {
return this->max_min_inp_val.at(0);
}
......
......@@ -23,6 +23,8 @@ public:
*/
struct access;
virtual ~NormalizationStrategy () = default;
/**
*
* @param n
......@@ -72,7 +74,7 @@ public:
*/
DoubleUnitStrategy();
~DoubleUnitStrategy();
~DoubleUnitStrategy() override;
/**
* Normalizes the input value to the interval [-1,1]
......
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