﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2258	Code generation does not support multiple iterators	Francesco Casella	Martin Sjölund	"Multiple iterators are not supported in OMC. This can be tested by simulating the following simple model:

{{{
model foo
  parameter Integer nRows = 3,nCols = 3;
  Real hilb[nRows,nCols] = array(1/(i+j-1) for i in 1:nRows, j in 1:nCols);
end foo;
}}}


which gives the following error: 

{{{[CodegenC.tpl:8122:14-8122:14:writable] Error: Template error: Code generation does not support multiple iterators: array(DIVISION(1.0, /*Real*/(i + j + -1), #SHARED_LITERAL_0(String)#) for j in #SHARED_LITERAL_1(Integer[3])#, i in #SHARED_LITERAL_1(Integer[3])#)}}}"	defect	closed	high	1.9.4	Code Generation	trunk	fixed		e.da-silva@…
