(minor) bug in interp_1d.h (fixed in V3.04)


Saul Teukolsky
04-28-2009, 01:09 PM
In the line
dj = MIN(1,(int)pow((Doub)n,0.25));
in the constructor for interp_1d.h, MIN should be replaced by MAX. The bug does not produce incorrect results, but may result in some inefficiency for large n.

Thanks to user thesane for reporting this.