﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1628	Subscripting jagged arrays give errors	Martin Sjölund	Martin Sjölund	"OpenModelica thinks {{{n[2].r}}} has dimension 3. Works in Dymola:
{{{
model N
  parameter Integer n;
  Real r[n];
end N;

model M
  N[2] n(n = {3,4});
equation 
  n[1].r = {1,2,3};
  n[2].r = {4,5,6,7};
end M;
}}}

Also try to fix:
{{{
model M
  N[2] n(n = {3,4});
equation
  n[:].r = {{1,2,3},{4,5,6}};
end M;
}}}
(It succeeds but should not!)"	defect	new	high	Future					Martin Sjölund Per Östlund
