Opened 8 years ago
Closed 8 years ago
#4088 closed defect (fixed)
evalFunc and array type
Reported by: | Vitalij Ruge | Owned by: | Volker Waurich |
---|---|---|---|
Priority: | high | Milestone: | Future |
Component: | Backend | Version: | |
Keywords: | Cc: | Volker Waurich, Willi Braun |
Description
'evalFunc' has some issues with array and partial constant output.
I get for the following example
model foo function f input Real x; output Real[2] y; output Real[2] z; algorithm y[1] := 2*x; y[2] := 3*x; z[1] := y[1]*y[2]; z[2] := 1; end f; Real [2] y; equation (,y) = f(time); end foo;
Variables (2) ======================================== 1: y[2]:VARIABLE() type: Real [2] 2: y[1]:VARIABLE() type: Real [2] Equations (2, 3) ======================================== 1/1 (2): (_, y) = foo.f_eval1(time) [dynamic] 2/3 (1): z[2] = 1.0 [dynamic]
with new variable 'z' in the equationsystem.
Change History (4)
comment:1 by , 8 years ago
Component: | *unknown* → Backend |
---|---|
Owner: | changed from | to
comment:2 by , 8 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 8 years ago
Owner: | changed from | to
---|
Note:
See TracTickets
for help on using tickets.
.