Opened 14 years ago
Closed 10 years ago
#1340 closed defect (fixed)
Code generation issue with for-iterators in simulation context
Reported by: | Martin Sjölund | Owned by: | Martin Sjölund |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Backend | Version: | |
Keywords: | Cc: | Martin Sjölund |
Description
{{{model mod2
constant Integer n=3;
output Real Z[n, n];
Real V[n], I[n];
Integer i=1, k=1;
algorithm
for i in 1:n loop
for k in 1:n loop
Z[i,k] := i * k;
end for;
end for;
equation
I = fill(1.0,n);
V = Z * I;
end mod2; }}}
Change History (2)
comment:1 by , 14 years ago
comment:2 by , 10 years ago
Cc: | sjoelund.se, → sjoelund.se |
---|---|
Component: | → Backend |
Resolution: | → fixed |
Status: | new → closed |
Seems this has been fixed, and the test case has already been moved to the working tests.
Note:
See TracTickets
for help on using tickets.
The test case mosfiles/ForIterator2.mos has been moved to failing tests. Please move it back to working tests when this bug is fixed.