pypredict/lm/lm_python.cpp:1543: bad test ?
Bug #1676077 reported by
dcb
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Onboard |
Fix Committed
|
Low
|
Unassigned |
Bug Description
Onboard/
Maybe better to swap && for ||.
Compiling with gcc compiler flag -Wlogical-op might also help.
Related branches
To post a comment you must log in.
Thank you. Yes, that check always succeeded. It's || now.
-Wlogical-op apparently does not detect this particular problem. I've added it anyway, seems good to have.