Opened 13 years ago
Last modified 12 years ago
#1654 closed defect
Size mismatch in equation — at Initial Version
Reported by: | Willi Braun | Owned by: | Willi Braun |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Frontend | Version: | |
Keywords: | Cc: | Willi Braun |
Description
is this wanted:
{{{function foo
input Real x[:];
output Real y[size(x,1)];
algorithm
y:=x*2;
end foo;
model ArrayEqn1
Real x[1];
Real y(start=1);
equation
der(y)=-4*y;
x=foo({y,2.,1.});
end ArrayEqn1;}}}
Should this really work, because we test this in ArrayEquation.mos. With the old simulation runtime it's even simulate.
Actually, it should not possible to check this model, because of Size mismatch.
Note:
See TracTickets
for help on using tickets.