Fixed log interpolation
This commit is contained in:
parent
e3ac7d9720
commit
872dea5a3e
@ -75,6 +75,8 @@ const Interpolate& Interpolate::operator=(const Interpolate& a)
|
|||||||
spline = gsl_spline_alloc (gsl_interp_linear, a.spline->size);
|
spline = gsl_spline_alloc (gsl_interp_linear, a.spline->size);
|
||||||
accel_interp = gsl_interp_accel_alloc ();
|
accel_interp = gsl_interp_accel_alloc ();
|
||||||
gsl_spline_init(spline, a.spline->x, a.spline->y, a.spline->size);
|
gsl_spline_init(spline, a.spline->x, a.spline->y, a.spline->size);
|
||||||
|
logx = a.logx;
|
||||||
|
logy = a.logy;
|
||||||
}
|
}
|
||||||
|
|
||||||
double Interpolate::getMaxX() const
|
double Interpolate::getMaxX() const
|
||||||
|
Loading…
Reference in New Issue
Block a user