plant icon indicating copy to clipboard operation
plant copied to clipboard

Add bounds (or checks) to AdaptiveInterpolator

Open aornugent opened this issue 4 years ago • 1 comments

Need to check that our spline doesn't go below zero, as identified in K93 with high values of k_I. Reprex to follow.

aornugent avatar Aug 28 '20 06:08 aornugent

This might be as simple as clamp-ing the result. Not sure what the overhead is. https://en.cppreference.com/w/cpp/algorithm/clamp

aornugent avatar Oct 30 '20 01:10 aornugent