﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2125	Update codegen for delay	Martin Sjölund	Lennart Ochel	"I have a patch where I have done some of the work to make delay() work more as expected.

But I ran into problems because during initialization, we call functionDAE with initial() set to false. And before storing the first delay-values. I was under the impression that we had (finally) replaced all calls to delay() with the actual expression during initialization. And of course I don't know how to fix initialization, so... Lennart maybe you want to have a look?

There are some bad diffs in my code (like changing ASSERT to assert to debug easier).

Basically, at runtime I want to call `delayImpl(data, index, curTime)` for most calls to `delay(exp, T)` (most things are known).
One thing that remains to be done is limiting the solver step size to at most T (should be an easy fix)."	defect	closed	high	1.9.1	Run-time	trunk	fixed		
