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 BSpline evaluation error on final point #76

Merged
merged 2 commits into from
Sep 25, 2020

Conversation

lucashttip
Copy link
Contributor

This fixes an error of indexing that appearead when evaluating the BSpline on the final point used for interpolation (A(t[end]) on interpolation_tests.jl). Possibly caused when findfirst was substituted by searchsortedlast.

This fixes an error of indexing that appearead when evaluating the BSpline on the final point used for interpolation (`A(t[end])` on interpolation_tests.jl). Possibly caused when `findfirst` was substituted by `searchsortedlast`.
@ChrisRackauckas
Copy link
Member

Could you add a test that catches this? Thanks!

@lucashttip
Copy link
Contributor Author

Sure!

This adds tests for verifying the evaluations of the initial and final points in BSplines.
@ChrisRackauckas ChrisRackauckas merged commit e755eb3 into SciML:master Sep 25, 2020
@lucashttip lucashttip deleted the patch-1 branch September 25, 2020 04:02
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