Repository navigation
Adding a workaround for even-length inputs to scipy.signal.sepfir2d - #3750
Merged
Merged
Conversation
This was referenced Aug 10, 2020
Member
|
Could it be that SciPy pads the array somewhere to make it of odd length? On the one hand it's nice that you already made even length work and we could probably just keep it while waiting for SciPy to fix, on the other hand since we can't test against SciPy for even lengths it's indeed nerve wracking... |
Member
|
Let me kick off the CI while waiting for the core devs' opinions... |
Collaborator
|
Successfully created a job for commit b904294: |
Member
|
Jenkins CI test (for commit b904294, target branch master) succeeded! |
Contributor
Author
|
No, they do not pad, they read random memory. |
Contributor
|
I think it is okay to make it accept odd-length |
Contributor
|
LGTM! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
test_bsplines.py has been failing randomly due to a bug in scipy where out-of-bounds memory is being read under certain circumstance.
A bug report has been submitted to scipy: scipy/scipy#12691
See #3645 (comment) for some other details.