Opened 9 years ago

Closed 2 years ago

#1025 closed defect (fixed)

Array sizes depending on for indices

Reported by: Jesper Mattsson Owned by: Jesper Mattsson
Priority: major Milestone: Future
Component: Modelica/FrontEnd Version: trunk
Keywords: Cc:

Description

The getArray() NTA currently requires that all array sizes are known when it is first called and that they do not change thereafter. This is not always the case.

Examples:

  • Any array expression with a size that is dependent on a for index
  • A function input that is declared with :, during function evaluation

One way to solve this would be to create some kind of dynamic version of Array to be used in such cases.

Change History (6)

comment:1 Changed 9 years ago by Jesper Mattsson

Priority: majorcritical

comment:2 Changed 9 years ago by Jesper Mattsson

Priority: criticalmajor

comment:3 Changed 9 years ago by jakesson

Owner: set to Jesper Mattsson
Status: newassigned

comment:4 Changed 9 years ago by Jesper Mattsson

Milestone: 1.4.x1.5.x

comment:5 Changed 9 years ago by Jesper Mattsson

Milestone: 1.5.xFuture

comment:6 Changed 2 years ago by Jesper Mattsson

Resolution: fixed
Status: assignedclosed

Fixed in other tickets.

Note: See TracTickets for help on using tickets.