Opened 8 years ago
Last modified 8 years ago
#4127 new defect
Losing Loop with ArrayEquations??
Reported by: | Vitalij Ruge | Owned by: | somebody |
---|---|---|---|
Priority: | high | Milestone: | Future |
Component: | Backend | Version: | |
Keywords: | Cc: | Willi Braun |
Description
loadString(" model foo function f input Real[2] x; output Real[2] y; algorithm y[1] := 2*x[1]^2 + 1; y[2] := 3*x[2]^2 + 2; end f; Real[ 2] y; equation y = f(y); //Loop !? end foo; "); getErrorString(); simulate(foo); getErrorString(); val(y[1], {0, 0.5, 1});
return wrong results.
The loop for y = f(y)
is missing.
Note:
See TracTickets
for help on using tickets.
Yes, the loop seems to be missing and the info.json file also does not contain variable
y[2]