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

Argsort does not support axis #2014

Closed
Dapid opened this issue Aug 11, 2022 · 2 comments
Closed

Argsort does not support axis #2014

Dapid opened this issue Aug 11, 2022 · 2 comments

Comments

@Dapid
Copy link
Contributor

Dapid commented Aug 11, 2022

I have managed to minimise the code that triggers #2013 in isolation. It is due to argsort being passed the axis argument.

import numpy as np

# pythran export c3(float64[:])
def c3(data: np.ndarray):
    all_indexes = data.argsort(axis=0)
    return all_indexes

The issue also happens when data is 2D, for all valid values of the axis argument, and regardless of wether I use the array method or the numpy function.

@serge-sans-paille
Copy link
Owner

Can you confirm 1a517ac fixed that issue?

@Dapid
Copy link
Contributor Author

Dapid commented Nov 20, 2022

It does, thanks.

@Dapid Dapid closed this as completed Nov 20, 2022
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

No branches or pull requests

2 participants