﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
383	Estimate makes TOL crash when ModelDef has a wrong bad definition	imendez	Víctor de Buen Remiro	"Hi, this code:

Serie aleatoria = SubSer(Gaussian(0, 0.1), y1998, y2002);
Serie output = aleatoria+(Pulse(y2000, Diario)*Real 0.5);
Set mod = ModelDef
(
output,
1,
0,
7,
?,
1,
SetOfPolyn(1, 1),
SetOfPolyn(1, 1),
//SetOfSet(InputDef(0.1, Pulse(y2000, Diario))),
InputDef(0.1, Pulse(y2000, Diario)),
AllLinear
);
Set est1 = Estimate(mod, y1998, y2002);

causes a TOL crashing. It's obviously due to a negligence of the coder (it's me)
but I think that TOL should be more condescending with him (me) by showing an
error message.

[Note: the error is in the input definition, because it must be a SetOfSet of
InputDef structures instead of a unique InputDef structure.]

Regards."	defect	closed	normal		Math	head	blocker	fixed		
