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

Sonarcloud warnings for perturbation.py #683

Open
BenWibking opened this issue Jul 24, 2024 · 0 comments
Open

Sonarcloud warnings for perturbation.py #683

BenWibking opened this issue Jul 24, 2024 · 0 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@BenWibking
Copy link
Collaborator

Describe the bug
Sonarcloud warning: Use "np.nonzero" when only the condition parameter is provided to "np.where".

Additional context
See https://sonarcloud.io/project/issues?impactSoftwareQualities=RELIABILITY&issueStatuses=OPEN%2CCONFIRMED&id=BenWibking_TwoMomentRad&open=AYreLfwyco9SdhuoToId

There is some unconventional usage of np.where: https://sonarcloud.io/organizations/benwibking/rules?open=python%3AS6729&rule_key=python%3AS6729

@BenWibking BenWibking added the enhancement New feature or request label Jul 24, 2024
@dosubot dosubot bot added the bug Something isn't working label Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants