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

Floating point numbers should not be tested for equality #62

Open
Wuodan opened this issue Aug 21, 2024 · 0 comments · May be fixed by #63
Open

Floating point numbers should not be tested for equality #62

Wuodan opened this issue Aug 21, 2024 · 0 comments · May be fixed by #63

Comments

@Wuodan
Copy link
Contributor

Wuodan commented Aug 21, 2024

if (np.min(quantiles_output) == np.max(quantiles_output)) and (np.min(quantiles_output) == 0.0):

see SonarRule python:S1244

Wuodan added a commit to Wuodan/linesight that referenced this issue Aug 21, 2024
Wuodan added a commit to Wuodan/linesight that referenced this issue Aug 21, 2024
Wuodan added a commit to Wuodan/linesight that referenced this issue Aug 21, 2024
Wuodan added a commit to Wuodan/linesight that referenced this issue Aug 21, 2024
Wuodan added a commit to Wuodan/linesight that referenced this issue Aug 21, 2024
Wuodan added a commit to Wuodan/linesight that referenced this issue Aug 22, 2024
Wuodan added a commit to Wuodan/linesight that referenced this issue Aug 30, 2024
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 a pull request may close this issue.

1 participant