Opened 15 years ago
Last modified 14 years ago
#1213 closed defect (fixed)
semilinear "semiLinear_rettype was not declared in this scope"
Reported by: | perob88 | Owned by: | perob88 |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Version: | ||
Keywords: | Cc: | perob88, Martin Sjölund |
Description
The following small model fails during compilation with the above statement...
class semilineartest parameter Real a=5; parameter Real b=5; Real c; Real x(start=5); equation der(x) = -1; c = semiLinear(x,a,b); end semilineartest;
Change History (4)
comment:1 by , 15 years ago
comment:2 by , 15 years ago
Verified; seems to pass through the front-end, but missing in runtime.
Could either be expanded to the if-expression it represents in front-end or added as a function in the runtime.
comment:3 by , 15 years ago
I think the best would be to add it in the runtime.
Then we can easily change the implementation if we want.
Note:
See TracTickets
for help on using tickets.
Fixed formatting of code.