﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1801	Fixed simplification of matrix-vector multiplication	Willi Braun	Martin Sjölund	"The dimensions of variables inside of equations are determined wrong for the following model:
{{{
model A
  Real x[4];
  constant Real A[:,:] = {{1,0,2,3},{-1,2,0,0},{2,0,0,0},{0,0,1,1}};
  Real b[:] = {1,2,3,time};
equation
  A*x = b;
end A;
}}}
result:
{{{
class A
  Real x[1];
  Real x[2];
  Real x[3];
  Real x[4];
[...]
equation
  x[1,1] - x[2,1] + 2.0 * x[3,1] = b[1];
  2.0 * x[2,2] = b[2];
  2.0 * x[1,3] + x[4,3] = b[3];
  3.0 * x[1,4] + x[4,4] = b[4];
end A;
}}}
That issues occurs if the size of A,x >3, otherwise it works.
"	defect	closed	high	1.9.0	Frontend	trunk	fixed		
