Opened 13 years ago
Closed 8 years ago
#2167 closed defect (worksforme)
Missing parenthesis in the flattened output of some if-expressions
| Reported by: | Per Östlund | Owned by: | somebody |
|---|---|---|---|
| Priority: | low | Milestone: | 1.13.0 |
| Component: | Frontend | Version: | trunk |
| Keywords: | Cc: |
Description
The flattened output of the following model is missing the parentheses around the if-expression, which are important since the equation becomes ambiguous otherwise.
model IfEquality Real x; equation (if x < 10 then x + 1 else x) = x; end IfEquality;
Change History (1)
comment:1 by , 8 years ago
| Milestone: | Future → 1.13.0 |
|---|---|
| Resolution: | → worksforme |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

As of v1.13.0-dev-155-g68350e9 I get the parentheses both with the old and new front-end.