X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Finterpolate%2Fspline.h;h=bd606d9d2aa14cbd4f6a1374d819985dd93a4135;hb=92480ec2f41502e3cbdfe1fe3ca703c4521ff747;hp=88626d2358c5fb5cd2e6756c5c43de4c9556b6b9;hpb=1d33efd177208ed449b6333539bf13e4ffc93b97;p=libs%2Fmath.git diff --git a/source/interpolate/spline.h b/source/interpolate/spline.h index 88626d2..bd606d9 100644 --- a/source/interpolate/spline.h +++ b/source/interpolate/spline.h @@ -2,7 +2,6 @@ #define MSP_INTERPOLATE_SPLINE_H_ #include -#include "knot.h" #include "polynomial.h" namespace Msp { @@ -134,6 +133,8 @@ inline Spline &Spline::operator=(const Spline &s) capacity = 0; segments = 0; } + + return *this; } template