Opened 8 years ago
Closed 8 years ago
#4053 closed defect (fixed)
Structural parameters (second issue)
Reported by: | Lennart Ochel | Owned by: | Patrick Täuber |
---|---|---|---|
Priority: | high | Milestone: | 1.11.0 |
Component: | Frontend | Version: | |
Keywords: | Cc: |
Description
In this example is the parameter state
a structural parameter and get treated as such within the frontend, but it gets not tagged as final.
model test2 parameter Boolean state = true; Real v; Real r; equation if state then // code which is removed during symbolic der(v) = 1; // processing, if state=false der(r) = 2; else v = time; r = 2*time; end if; end test2;
This issue is probably connected to #4052.
Note:
See TracTickets
for help on using tickets.
This is fixed in d75f648.