Opened 13 years ago
Closed 13 years ago
#26 closed defect (fixed)
Logic error (merci Xcode) : dephas = faisceau.at(k).phi - phaseRef;
| Reported by: | Owned by: | ||
|---|---|---|---|
| Priority: | major | Milestone: | Présentation à ASPRO |
| Component: | cmt | Version: | 0.1 |
| Keywords: | Cc: | lemeur@…, touze@…, perus@… |
Description
softwareParmela.cc:237:14: The right operand of '-' is a garbage value
dephas = faisceau.at(k).phi - phaseRef;
Attachments (2)
Change History (4)
by , 13 years ago
| Attachment: | Capture d’écran 2013-01-31 à 13.56.29.png added |
|---|
by , 13 years ago
| Attachment: | Capture d’écran 2013-01-31 à 13.57.13.png added |
|---|
comment:1 by , 13 years ago
comment:2 by , 13 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Il n'y a pas d'erreur de logique. PhaseRef est initialisé dans un if. Si l'if aboutit à un échec on sort de la méthode avec return false. Néanmoins pour rassurer tout le monde, on a préinitialisé phaseRef à 0.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/PSPA/chrome/site/pspa.gif)
Le message exact est :