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

MAINT: special: avoid out-of-bounds access in specfun #4706

Merged
merged 1 commit into from
May 9, 2015

Conversation

ev-br
Copy link
Member

@ev-br ev-br commented Apr 9, 2015

These are likely harmless artifacts of the lack of short-curcuiting of logical ops in Fortran. Still, they can potentially obscure actual errors and prevent using FOPT='-fbounds-check' or equivalent.

Locally, special tests pass with bounds-checking. The full test suite does not, there is more out-of-bounds weirdness in odepack and fftpack, which is not immediately obvious to me.

These are likely harmless artifacts of the lack of short-curcuiting
of logical ops in Fortran. Still, they can potentially obscure
actual errors and prevent using FOPT='-fbounds-check' or equivalent.
@ev-br ev-br added scipy.special maintenance Items related to regular maintenance tasks labels Apr 9, 2015
pv added a commit that referenced this pull request May 9, 2015
MAINT: special: avoid out-of-bounds access in specfun
@pv pv merged commit 2c1a428 into scipy:master May 9, 2015
@pv
Copy link
Member

pv commented May 9, 2015

LGTM

@ev-br ev-br deleted the specfun_ub branch May 9, 2015 14:13
@pv pv added this to the 0.16.0 milestone May 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Items related to regular maintenance tasks scipy.special
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants