Opened 14 years ago
Last modified 14 years ago
#1572 closed defect (fixed)
Check for algorithm/external section
| Reported by: | Martin Sjölund | Owned by: | Martin Sjölund | 
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | Version: | ||
| Keywords: | Cc: | Martin Sjölund, | 
Description
Using inheritance, it is possible to get both algorithm section and external declaration in the DAE. Fix this :)
{{{model M
function funky
output Real y;
algorithm
y := 1.0;
end funky;
function sin
input Real x;
extends funky;
external "C" y=sin(x);
end sin;
Real x = sin(time);
end M;}}}
Also check for initial algorithm.
  Note:
 See   TracTickets
 for help on using tickets.
    
