﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
3538	function outputs array slice	Volker Waurich	somebody	"Hi,

A model of mine has a function call that outputs an array slice, which is part of a 2-dimensional array. This call is inside a for-loop:
Something like: (_,x[:,i],_) := f(a);

When compiling, I get the template-error from daeExpCrefLhsSimContext:

{{{Template error: This should have been handled in indexed assign and should not have gotten here x[:,i]}}}

Can anybody explain where exactly these things have to be handled?
I dont know what is meant with ""indexed assign"".

Thanks.

"	discussion	new	normal	Future	Backend				Lennart Ochel Mahder Alemseged Gebremedhin Per Östlund Willi Braun
