Opened 15 years ago
Closed 12 years ago
#1195 closed task (fixed)
Probable issue with nested min/max functions
Reported by: | perob88 | Owned by: | perob88 |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Code Generation | Version: | |
Keywords: | Cc: | perob88 |
Description
The following modelica code generates c-code that does not compile...
class buggtrigger
parameter Real a = 1;
parameter Real b = 2;
parameter Real c = 3;
Real d;
equation
d = min(max(a,b),min(c,5));
end buggtrigger;
Change History (1)
comment:1 by , 12 years ago
Cc: | perob88, → perob88 |
---|---|
Component: | → Code Generation |
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
This was probably fixed a long time ago, the model now compiles and simulates correctly.