# | Line 462 | Line 462 | data_interp(DATARRAY *dp, double *pt, double coef, DAT | |
---|---|---|
462 | c0 = 1./(i-1 - x); | |
463 | c1 = -2.*c0; | |
464 | } else if (x < i-1) { | |
465 | < | c1 = 1./(i - x); |
465 | > | c1 = 1./(x - i); |
466 | c0 = -2.*c1; | |
467 | } else { | |
468 | c0 = i+1 - x; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |