﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1136	Reduction expression (from MathCore)	Jan Brugård	Jan Brugård	"Reduction expression doesn't work. See for example the model:
{{{
model test
  Real A;
  parameter Real x[:]={1,2,3,4,5};
equation 
  A=min(x[j] for j in 1:size(x, 1));
end test;
}}}

The error messages from this model is:

{{{
--- [55] 12:51:27 Validation of class test ---
Check of test failed
Error: Type mismatch in equation A=<reduction>min(x[1] for j in {1,2,3,4,5}) of type Real=Real[5]
Error: Error occured while flattening model test
}}}

See the Modelica Spec 3.1 section 10.3.4 for more information about the reduction expressions."	defect	closed	high				fixed		Jan Brugård Per Östlund
