Skip to content
Snippets Groups Projects
Commit 965c0b01 authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[MaL] Make PiecewiseLinearInterpolation final.

parent 7661c0c0
No related branches found
No related tags found
No related merge requests found
...@@ -34,9 +34,6 @@ PiecewiseLinearInterpolation::PiecewiseLinearInterpolation( ...@@ -34,9 +34,6 @@ PiecewiseLinearInterpolation::PiecewiseLinearInterpolation(
} }
} }
PiecewiseLinearInterpolation::~PiecewiseLinearInterpolation()
{}
double PiecewiseLinearInterpolation::getValue(double pnt_to_interpolate) const double PiecewiseLinearInterpolation::getValue(double pnt_to_interpolate) const
{ {
// search interval that has the point inside // search interval that has the point inside
......
...@@ -22,7 +22,7 @@ namespace MathLib ...@@ -22,7 +22,7 @@ namespace MathLib
/** /**
* This class implements a one dimensional piecewise linear interpolation algorithm. * This class implements a one dimensional piecewise linear interpolation algorithm.
*/ */
class PiecewiseLinearInterpolation class PiecewiseLinearInterpolation final
{ {
public: public:
/** /**
...@@ -48,8 +48,6 @@ public: ...@@ -48,8 +48,6 @@ public:
std::vector<double>&& values_at_supp_pnts, std::vector<double>&& values_at_supp_pnts,
bool supp_pnts_sorted = false); bool supp_pnts_sorted = false);
virtual ~PiecewiseLinearInterpolation();
/** /**
* \brief Calculates the interpolation value. * \brief Calculates the interpolation value.
* @param pnt_to_interpolate The point should be located within the range * @param pnt_to_interpolate The point should be located within the range
......
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