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

Fixing bug in argmin/argmax called with axis on rank-1 container #2753

Merged
merged 3 commits into from
Dec 5, 2023

Conversation

tdegeus
Copy link
Member

@tdegeus tdegeus commented Dec 4, 2023

Fixes #2752

Todo: change to constexpr if C++17 support is enabled

@tdegeus tdegeus added the Bug label Dec 4, 2023
@tdegeus
Copy link
Member Author

tdegeus commented Dec 4, 2023

@SoundDev @qiangxinglin Do you have still any suggestions?

@tdegeus tdegeus added the C++17 label Dec 4, 2023
include/xtensor/xsort.hpp Outdated Show resolved Hide resolved
@tdegeus tdegeus merged commit 7008d95 into xtensor-stack:master Dec 5, 2023
12 checks passed
@tdegeus tdegeus deleted the armin branch December 5, 2023 08:23
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.

argmax( x, 0) on a single dimension array returns the wrong index
2 participants