8000 generalized ufunc signature problem fix by ovillellas · Pull Request #2953 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

generalized ufunc signature problem fix #2953

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

Merged
merged 8 commits into from
Mar 2, 2013
Merged

Conversation

ovillellas
Copy link

Fix for a problem in the generalized ufunc harness. When a generalized ufunc had a repeated cardinality within a single matrix in the signature, the arguments passed to the kernel function were incorrect.

Signatures like (m,m)->(m,m) didn't work. This pull-request fixes this

for (i = 0; i < nop; ++i) {
op_axes[i][0] = -1;
}
}
Copy link
Member

Choose a reason for hiding this comment

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

Is this NpyIter's buggy behaviour with scalars striking again?

@njsmith
Copy link
Member
njsmith commented Jan 31, 2013

I haven't reviewed the logic carefully, but skimming the code nothing jumped out at me, no-one uses this code, and there are tests, so... guess it's fine?

Not sure why Travis hasn't run tests... I'll try poking it.

@njsmith njsmith closed this Jan 31, 2013
@njsmith njsmith reopened this Jan 31, 2013
charris added a commit that referenced this pull request Mar 2, 2013
generalized ufunc signature problem fix
@charris charris merged commit 985b267 into numpy:master Mar 2, 2013
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.

4 participants
0