Opened 7 years ago
Closed 7 years ago
#4847 closed defect (fixed)
Possible ExpressionSimplify error
Reported by: | Owned by: | Per Östlund | |
---|---|---|---|
Priority: | normal | Milestone: | Future |
Component: | Frontend | Version: | |
Keywords: | DAE, ExpressionSimplify | Cc: | Martin Sjölund |
Description
DAE seem to optimise
function integerArithmeticTest2 input Integer x; output Integer y; algorithm y := x + x +x; end integerArithmeticTest2;
To
function simpleTest.integerArithmeticTest2 input Integer x; output Integer y; algorithm y := 3.0 * x; end simpleTest.integerArithmeticTest2;
Leading to an implicit cast when converted into C-code.
Change History (3)
comment:1 by , 7 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 7 years ago
comment:3 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Fixed in d4bea6d, along with several similar issues.