sciapp / gr

GR framework: a graphics library for visualisation applications
Other
329 stars 54 forks source link

One of equation in spline.c is incorrect #43

Closed xcvbn-sk closed 7 years ago

xcvbn-sk commented 7 years ago

In gr/lib/gr/spline.c line 355, The correct equation is R(i, 0) = 1 / (p C(i - 1, 0) + q T(i, 0) - f R(i - 1, 1) - g R(i - 2, 2));

instead of R(i, 0) = 1 / (p C(i - 1, 0) + q T(i, 0) - f R(i - 1, 1) + g R(i - 2, 2));

It is "-" instead of "+".

Ref: http://dl.acm.org/citation.cfm?id=214322

jheinen commented 7 years ago

Thanks a lot for the hint!