Summary: | Problem with arrays of booleans | ||
---|---|---|---|
Product: | UPPAAL | Reporter: | Gerd Behrmann <behrmann> |
Component: | Engine | Assignee: | Gerd Behrmann <behrmann> |
Status: | CLOSED FIXED | ||
Severity: | critical | CC: | furang |
Priority: | P2 | ||
Version: | 3.4.0 | ||
Hardware: | All | ||
OS: | All | ||
Architecture: | |||
Attachments: | Model used in the bug report |
Description
Gerd Behrmann
2003-09-17 08:39:01 CEST
Created attachment 7 [details]
Model used in the bug report
A fix has been checked into CVS. The problem was that the type checker didn't know about the size of a boolean and thus computed it as zero. Since the offset into the array is computed as idx * element_size, and element_size due to the bug was 0, this would always result in the first element of the array being addressed. |