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 for index arithmetic #9

Merged
merged 1 commit into from Dec 6, 2019
Merged

fix for index arithmetic #9

merged 1 commit into from Dec 6, 2019

Conversation

sudiptoguha
Copy link
Contributor

Description of changes: The extrapolation code for the cyclic case had incorrect index arithmetic

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@wnbts
Copy link
Member

wnbts commented Dec 5, 2019

Looks good. Is it possible to add tests to verify and prevent regressions?

@jotok
Copy link
Collaborator

jotok commented Dec 5, 2019

I believe that the existing code can throw an NPE. Given that we are still in alpha, there is no existing test coverage for the extrapolation methods, and writing unit tests for the extrapolate methods will require some finicky mocking, I'm inclined to merge this PR as is and create a new Issue to add test coverage. Does that work for you @wnbts ?

@wnbts
Copy link
Member

wnbts commented Dec 5, 2019

OK

@jotok
Copy link
Collaborator

jotok commented Dec 6, 2019

Issue to add test coverage #10

@jotok jotok merged commit 86bfb21 into master Dec 6, 2019
@jotok jotok deleted the extrapolate-cyclic-fix branch December 6, 2019 16:06
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.

None yet

3 participants