This issue tracker is closed. Please visit UPPAAL issue tracker at Github instead.

Bug 262 - Missing int to bool conversion
Summary: Missing int to bool conversion
Alias: None
Product: UPPAAL
Classification: Unclassified
Component: Engine (show other bugs)
Version: 3.6 Alpha 4
Hardware: All All
: P1 normal
Assignee: Gerd Behrmann
Depends on:
Reported: 2006-02-07 18:03 CET by Gerd Behrmann
Modified: 2020-03-30 19:18 CEST (History)
1 user (show)

See Also:

Test case (789 bytes, text/xml)
2006-02-07 18:03 CET, Gerd Behrmann
remote team tool (757.52 KB, image/jpeg)
2020-03-30 19:18 CEST, harryjoe

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).
Comment 3 harryjoe 2020-03-30 19:10:09 CEST
Comment 4 harryjoe 2020-03-30 19:12:19 CEST
Comment 5 harryjoe 2020-03-30 19:15:17 CEST
(In reply to Gerd Behrmann from comment #2)
> Fixed on the trunk (rev. 1542).
Comment 6 harryjoe 2020-03-30 19:18:08 CEST
Created attachment 342 [details]
remote team tool