Skip to content
Snippets Groups Projects

COMP: fix parenthesis warning in debug mode

Merged Victor Poughon requested to merge fix-debug-warnings into develop

Fix warnings in debug mode that look like this:

/home/poughov/cnes/dev/otb/Modules/Learning/LearningBase/include/otbMachineLearningModel.hxx:150:58: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
   assert((proba==nullptr)||(input->Size()==proba->Size())&&"Proba sample list and target label list do not have the same size.");

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading