msteinbeck / tinyspline

ANSI C library for NURBS, B-Splines, and Bézier curves with interfaces for C++, C#, D, Go, Java, Javascript, Lua, Octave, PHP, Python, R, and Ruby.
MIT License
1.21k stars 209 forks source link

Infinite loop when evaluating spline at "min(domain) - epsilon" #222

Closed msteinbeck closed 2 years ago

msteinbeck commented 2 years ago

Example:

from tinyspline import *
spline = BSpline(7)
spline.eval(0.0 - 0.00001)