﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2143	Wrong flattening of element-wise operators	Martin Sjölund	Per Östlund	"Wrong flattening of element-wise operators. Consider:
{{{
function f
  input Real r1[:];
  input Real r2[size(r1,1)];
  output Real o[size(r1,1)];
algorithm
  o := r1 .* r2;
end f;

model M
  Real r[:] = f({1,2,3},{4,5,6});
end M;
}}}

omc prints:
{{{
function f
  input Real[:] r1;
  input Real[size(r1, 1)] r2;
  output Real[size(r1, 1)] o;
algorithm
  o := r1 * r2;
end f;
}}}

Which is wrong since r1 * r2 returns a scalar Real. This is an annoyance when debugging."	defect	closed	high	1.9.0	Frontend	trunk	fixed		
