Bug 262 - Missing int to bool conversion
Summary: Missing int to bool conversion
Status: RESOLVED FIXED
Alias: None
Product: UPPAAL
Classification: Unclassified
Component: Engine (show other bugs)
Version: 3.6 Alpha 4
Hardware: All All
: P1 normal
Assignee: Gerd Behrmann
URL:
Depends on:
Blocks:
 
Reported: 2006-02-07 18:03 CET by Gerd Behrmann
Modified: 2006-02-20 20:14 CET (History)
0 users

See Also:
Architecture:


Attachments
Test case (789 bytes, text/xml)
2006-02-07 18:03 CET, Gerd Behrmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gerd Behrmann 2006-02-07 18:03:27 CET
When using an int variable as an initialiser for a bool variable for function
local variables, then the integer value is not converted to a boolean value.
Hence if the integer has a value different from 0 or 1, an error is generated.
Comment 1 Gerd Behrmann 2006-02-07 18:03:46 CET
Created attachment 85 [details]
Test case
Comment 2 Gerd Behrmann 2006-02-20 20:14:23 CET
Fixed on the trunk (rev. 1542).