FigBug/Gin

Spline produces NaN if any point has an Y value of zero

wardnijman opened this issue · 3 comments

Spline produces NaN if any point has an Y value of zero

Not seeing this, can you provide values to reproduce?

Sure, here is an example:
{1, 0},
{247.306 , 111.54},
{362.056 98.4783},
{484.306 82.2084},
{750 132},
{599.806 61.2164},
{750., 132},

Oops.. After posting I immediately realised there is a duplicate value in there. Seems I am adding zero's in the wrong place, multiple times. Thanks for the work anyways :-)