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