Project

General

Profile

Actions

Bug #480

closed

Development #483: Code cleanup

Logical operators

Added by Volker Friese over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
High
Assignee:
Target version:
Start date:
11/23/2015
Due date:
11/23/2015
% Done:

100%

Estimated time:

Description

The logical operator && is placed within the || operator chain. This generates a warning [-Wlogical-op-parentheses] when compiling By C++ standard, && is evaluated before ||. Please check whether this is the desired functionality. If yes, place parentheses around the && statement to silence the warning.

Actions #1

Updated by Volker Friese over 6 years ago

  • Due date set to 11/26/2015
  • Priority changed from Normal to High
  • Target version set to NOV15
  • Parent task set to #483
Actions #2

Updated by Semen Lebedev over 6 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100
Actions #3

Updated by Volker Friese over 6 years ago

  • Due date changed from 11/26/2015 to 11/23/2015
  • Status changed from Resolved to Closed

Thanks for the quick reaction. You are aware that the new implementation has a different logic than the previous one?

Actions #4

Updated by Semen Lebedev over 6 years ago

Yes, but since we do not do a lot simulations for prototype detector. This bug was not fixed before.

Actions

Also available in: Atom PDF