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

[BUG]np.delete,if pass the second positional argument empty list [],the program crashed. #652

Closed
hiltay opened this issue Dec 24, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@hiltay
Copy link
Contributor

hiltay commented Dec 24, 2023

Give the ulab version :newest

>>> a
array([[1.0, 2.0, 3.0],
       [4.0, 5.0, 6.0]], dtype=float32)
>>> np.delete(a,[],axis=1)

To Reproduce
when using np.delete, if pass the second positional argument empty list [],the program crashed.

@hiltay hiltay added the bug Something isn't working label Dec 24, 2023
@v923z
Copy link
Owner

v923z commented Dec 25, 2023

Thanks for the report!

@hiltay
Copy link
Contributor Author

hiltay commented Dec 25, 2023

I create a pr to fix that: #653

@hiltay
Copy link
Contributor Author

hiltay commented Dec 25, 2023

I think this bug is fixed! Close the issue now:)

@hiltay hiltay closed this as completed Dec 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants