Opened 2 years ago

#5450 new defect

Partial array indexing

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

Description

The compiler currently assumes that array indexing is performed using all the dimensions of the referenced element. In the following model the x[1] expression is interpreted as scalar. It should be expanded to x[1,:] and interpreted as a size two array.

        Real[1,2] x;
    equation
        x[1] = {time, time};

Change History (0)

Note: See TracTickets for help on using tickets.