Commit 16da8676f07982363159bc52be5d1a82925e0a61

  • avatar
  • Heikki Mäntysaari <heikki.mantysaari @j…u.fi> (Committer)
  • Thu Aug 04 08:42:21 EEST 2011
  • avatar
  • Heikki Mäntysaari <heikki.mantysaari @j…u.fi> (Author)
  • Thu Aug 04 08:42:21 EEST 2011
* Small bugfix to Amplitude class: clear ktvals table when Clear() is called
src/amplitude.cpp
(3 / 1)
  
5050void Amplitude::Clear()
5151{
5252 ktsqrvals.clear();
53 ktvals.clear();
5354 lnktsqrvals.clear();
5455 yvals.clear();
5556
288288 */
289289
290290 // f'(x) \approx [ f(x+h) - f(x-h) ] / 2h + o(h^2)
291 SetInterpolationPoints(INTERPOLATION_POINTS_DER);
291 //SetInterpolationPoints(INTERPOLATION_POINTS_DER);
292 SetInterpolationPoints(150);
292293
293294 // h=lnktsqr[ind+1]-lnktsqr[ind] = lnktsqr[ind] - lnktsqr[ind-1]
294295 REAL lnktsqr1 = std::log(ktsqrvals[ktsqrind-1]);