thibauts / b-spline

B-spline interpolation
MIT License
299 stars 48 forks source link

minor improvement of the domain edges #11

Closed Pomax closed 8 years ago

Pomax commented 8 years ago

The only thing this PR does is remove some superfluous computation when determining the edges of the domain, reducing a case of x-1-(y-1) to x-y. Tests still pass with this change (which makes sense, but it's good that they do =)