Fixed log interpolation

This commit is contained in:
Guilhem Lavaux 2011-01-18 06:56:19 -06:00
parent e3ac7d9720
commit 872dea5a3e

View File

@ -75,6 +75,8 @@ const Interpolate& Interpolate::operator=(const Interpolate& a)
spline = gsl_spline_alloc (gsl_interp_linear, a.spline->size);
accel_interp = gsl_interp_accel_alloc ();
gsl_spline_init(spline, a.spline->x, a.spline->y, a.spline->size);
logx = a.logx;
logy = a.logy;
}
double Interpolate::getMaxX() const