Changes between Initial Version and Version 1 of Ticket #3464


Ignore:
Timestamp:
2015-09-17T05:47:28Z (9 years ago)
Author:
Rüdiger Franke
Comment:

Commit

https://github.com/OpenModelica/OMCompiler/commit/e6cfb0d7575f47ffe80d5524db0bbc722ec3afa8

solves another problem with these examples -- the sizing of the array is wrong and appears not needed there.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3464 – Description

    initial v1  
    1 Some models from MSL trunk initialize arrays with expressions like:
     1Some models from MSL trunk initialize arrays with expressions like `TransformationMatrix`:
    22{{{#!mo
    3     parameter Real TransformationMatrix[2, m]=2/m*{+cos(+phi),+sin(+phi)}; 
     3function ToSpacePhasor
     4  input Real x[:];
     5  ...
     6protected
     7  parameter Integer m=size(x, 1);
     8  parameter Modelica.SIunits.Angle phi[m]=MultiPhase.Functions.symmetricOrientation(m);
     9
     10  parameter Real TransformationMatrix[2, m]=2/m*{+cos(+phi),+sin(+phi)} for k in 1:m};
     11  ...
     12end ToSpacePhasor;
    413}}}
    514