﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1447	Vectorization does not work in front end	dhedberg	dhedberg	"I tested the following model in the latest nightly build of OpenModelica and it does not work.

{{{
function Foo
  input Integer x[:];
  output Integer y[size(x,1)];
algorithm 
  y := abs(x);
end Foo;

model MyTest
  Integer a[2] = {1, -1};
  Integer b[2];
algorithm
  b := Foo(a);
end MyTest;
}}}

I get the following error:

{{{
$ omc MyTest.mo
Error processing file: MyTest.mo
[MyTest.mo:5:3-5:14:writable] Error: No matching function found for abs in component <NO COMPONENT>
candidates are function(x:Integer) => Integer
 -function(x:Real) => Real

# Error encountered! Exiting...
# Please check the error message and the flags.

Execution failed!
}}}"	defect	closed	high	1.14.0	Frontend		fixed		dhedberg Henrik Tidefelt
