﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
260	Same TimeSet in input and output makes Estimate to crash	César Pérez Álvarez	Víctor de Buen Remiro	"If we use this code:
-----------------------------------------------------------------------------------------------------

//////////////////////////////////////////////////////////////////////////////
// FUNCTIONS
//////////////////////////////////////////////////////////////////////////////
Serie CalProof(TimeSet dating)
{ CalInd(Diario, dating) };

//////////////////////////////////////////////////////////////////////////////
// PROCEDURES
//////////////////////////////////////////////////////////////////////////////
Serie InputSer = CalProof(Diario);

Serie Output = SubSer(Gaussian(0, 1, Diario), y2000m01d01, y2004m01d01);
Set Input = SetOfSet(InputDef(0.1, InputSer));

Set Model = ModelDef
(
 Output, 
 1,                    
 0,                    
 1,                  
 0,                    
 1,                    
 SetOfPolyn(1 , 1), 
 SetOfPolyn(1 , 1 ),      
 Input,
 AllLinear
);

Set Estim = Estimate(Model, First(Output), Last(Output));

-------------------------------------------------------------------------------------------------

Estimate does not run and we obtain the following error:

-------------------------------------------------------------------------------------------------

2005/05/11 19:13:09 : Begins Data charging
Charging data for output serie between y2000m01d01 and y2004m01d01Initialized
mt19937 with seed = 1883502856 using random256-bsd(390686191)

Differenced output norm : 0.978785
Charging data for input series between y1999m12d31 and y2004m01d01
ERROR: Incompatible dating on output and/or inputs series. Estimate was unable
to retrieve data for input time series.

Time Data charging 0 secondsIncluded file 
-------------------------------------------------------------------------------------------------

If we see the functions CalProof and we change this functions with this main body:

Serie CalProof(TimeSet dating)
{ CalInd(Diario, Diario) };

Estimate runs.

It is very rare because we can operate with InputSer with a serie in Diario but
Estimate, in the first case, does not recognize dating argument in CalProof
functions as Diario."	defect	closed	high		Math	head	major	invalid		
