Skip to content

Conversation

@Wuodan
Copy link
Contributor

@Wuodan Wuodan commented Aug 21, 2024

see SonarRule python:S1244 (https://rules.sonarsource.com/python/RSPEC-1244/)

Fixes #62

@pb4git
Copy link
Member

pb4git commented Aug 26, 2024

This is a partial fix, as np.min(quantiles_output) == np.max(quantiles_output) are also floating point numbers tested for equality on the same line.

@Wuodan Wuodan force-pushed the upstream/issue/62_Floating-point-numbers-should-not-be-tested-for-equality branch from 6722fab to 66104bd Compare August 30, 2024 13:38
@Wuodan
Copy link
Contributor Author

Wuodan commented Aug 30, 2024

Thank you. PR updated.

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 this pull request may close these issues.

Floating point numbers should not be tested for equality

2 participants