Opened 3 years ago

#5307 new defect

Function scalarization bug

Reported by: Jonathan Kämpe Owned by: Jonathan Kämpe
Priority: major Milestone:
Component: Modelica/FrontEnd Version: trunk
Keywords: Cc:

Description

The following model does not scalarize correctly:

record R
    Real x;
end R;

function f
    input R[:] r;
    output Real y = sum(r[:].x);
algorithm
end f;

Real y = f({R(1),R(2)});

Change History (0)

Note: See TracTickets for help on using tickets.