Opened 7 years ago
Closed 7 years ago
#4841 closed defect (fixed)
inline function with bindings for outputs
Reported by: | Vitalij Ruge | Owned by: | Vitalij Ruge |
---|---|---|---|
Priority: | high | Milestone: | 1.13.0 |
Component: | *unknown* | Version: | |
Keywords: | Cc: |
Description
following model will transform wrong if inline is active.
function foo input Real a; input Real b; input Real c; output Real d; output Real e1 = a; protected Real f = a + e1; Real g = f + e1; algorithm d := b+c + g*f; annotation(Inline = true); end foo; model foobar Real a,b,c,d,e; equation (d, e) = foo(a,b,c); a = time; b = 2*time; c = 3*time; end foobar;
maybe because function equation f = ...; g = ...;
depend on e1
.
Change History (3)
comment:1 by , 7 years ago
Milestone: | Future → 1.13.0 |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:2 by , 7 years ago
comment:3 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
fixed with PR2314