Opened 13 years ago
Closed 12 years ago
#1654 closed defect (fixed)
Size mismatch in equation
Reported by: | Willi Braun | Owned by: | Willi Braun |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Frontend | Version: | |
Keywords: | Cc: | Willi Braun |
Description (last modified by )
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.
Change History (4)
comment:1 by , 13 years ago
comment:2 by , 12 years ago
Cc: | wbraun, → wbraun |
---|---|
Component: | → Frontend |
comment:3 by , 12 years ago
Description: | modified (diff) |
---|
Note:
See TracTickets
for help on using tickets.
No, it should not even pass the front-end