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

mrpt-1.0.2/libs/base/src/math/math.cpp:1102]: (warning) Logical disjunction always evaluates to true: p < 1.0 || p > 0.0. #33

dcb314 opened this issue Mar 21, 2014 · 1 comment


Copy link

@dcb314 dcb314 commented Mar 21, 2014

Source code is

ASSERT_(p < 1.0 || p > 0.0);

Maybe something like

ASSERT_(p < 1.0 && p > 0.0);

would be better code.

@jlblancoc jlblancoc closed this in d1e746c Mar 21, 2014
Copy link

@jlblancoc jlblancoc commented Mar 21, 2014

Thanks for reporting!

jlblancoc pushed a commit that referenced this issue Aug 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants