﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2535	Array Initialziation in Function Fails	ravi	somebody	"The following model lead to a segmentation fault
{{{
function myfun
  input Real x;
  output Real y;
  protected Real  z[3]= {1,2,3} ;  // This Falis (why ??)
  //protected  Real  z[3] ;           // Works 
algorithm
  z[1] := x ;
  y    := 2 * z[1] ;
end myfun;

model tryme
  Real y;
equation
   y = myfun(3.4) * y + 2 ; 
end tryme;
}}}


"	defect	closed	normal	1.9.2	Run-time	trunk	fixed	function, array, initialization	
