Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(bounds): allow interpolation on bounds of time #197

Closed
wants to merge 1 commit into from

Conversation

DhairyaLGandhi
Copy link
Member

Currently if one tries to call interpolation for the extremities of the timespan for which the splines are fit, we get the ExtrapolationError whereas it isn't actually doing extrapolation. This relaxes the checks for where we query to include those bounds.

Perhaps better checks are needed for when we query with something not time (i.e not linear, sorted, or monotonic)

@sathvikbhagavan
Copy link
Member

sathvikbhagavan commented Oct 27, 2023

I am not sure I am following you. It works at the boundary points and this PR would make it error on those points.

Can you provide an MWE where it is erroring for you?

@DhairyaLGandhi
Copy link
Member Author

Yeah, I was mistaken about the order of operation here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants