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

potentially buggy comparison in code #144

Open
yedpodtrzitko opened this issue Apr 8, 2023 · 0 comments
Open

potentially buggy comparison in code #144

yedpodtrzitko opened this issue Apr 8, 2023 · 0 comments

Comments

@yedpodtrzitko
Copy link

the comparison on following line looks like a bug, since both left and right side uses fTmp so the result will be true only if fabs(m_afSubd[i2]) is zero?

if ( fabs(m_afSubd[i2]) + fTmp == fTmp )

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

No branches or pull requests

1 participant