]> git.tdb.fi Git - libs/math.git/blobdiff - source/interpolate/spline.h
Remove a stray include
[libs/math.git] / source / interpolate / spline.h
index c801188e695cfb4f1c6a51c75368332ad5af53e9..bd606d9d2aa14cbd4f6a1374d819985dd93a4135 100644 (file)
@@ -2,8 +2,6 @@
 #define MSP_INTERPOLATE_SPLINE_H_
 
 #include <algorithm>
-#include <vector>
-#include "knot.h"
 #include "polynomial.h"
 
 namespace Msp {
@@ -135,6 +133,8 @@ inline Spline<T, D, N> &Spline<T, D, N>::operator=(const Spline &s)
                capacity = 0;
                segments = 0;
        }
+
+       return *this;
 }
 
 template<typename T, unsigned D, unsigned N>