8000 DOC: Fix for issue #7701 by souravsingh · Pull Request #8023 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

DOC: Fix for issue #7701 #8023

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

Closed
wants to merge 1 commit into from
Closed

DOC: Fix for issue #7701 #8023

wants to merge 1 commit into from

Conversation

souravsingh
Copy link
@souravsingh souravsingh commented Sep 6, 2016

Fixes Issue #7701

@charris charris changed the title DOC fix DOC: Fix for issue #7701 Sep 6, 2016
@@ -906,7 +906,7 @@ The ``code.c`` file also contains the function ``dfilter2d``:
a has strides that are multiples of sizeof(double)
*/
void
dfilter2d(double *a, double *b, int *astrides, int *dims)
dfilter2d(double *a, double *b, int *astrides, ssize_t *dims)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

astrides should also be of ssize_t type. And there is not much benefit in modifying the type of the function parameter if inside the function you still use M and N (and S0 and S1 once astrides is also changed) as ints.

@charris
Copy link
Member
charris commented Nov 4, 2016

Made the needed fixes in an upcoming PR, so closing this. Thanks @souravsingh .

@charris charris closed this Nov 4, 2016
charris added a commit to charris/numpy that referenced this pull request Nov 5, 2016
Corrections to numpy#8023.

- Fix index types to ssize_t.
- Clean up C code style.

Closes numpy#7701.

[ci skip]
@souravsingh souravsingh deleted the issue-7701 branch November 20, 2016 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0