﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
165	a random error in AIA function	imendez	danirus	"A very curious error.

When compiling this code:

////////////////////////////////////////////////////////////////////
Set Outliers = SetOfRation(PulseOut);
TimeSet FechOutput = WD(6)+WD(7);
Set Include(""M:/personas/Chakib/serie_aia.bdt"");
Polyn MA = 0.59627;
Polyn ARI = (1-B^7);
Ration PiW = ARI/MA;
Set AIAInputs.Pre = AIA(res, PiW, Outliers);
Real NumCiclos = 100000;
Set CicloAia = For(1, NumCiclos, Set(Real n)
{
  If(EQ(n%100, 0), WriteLn("". ""+ FormatReal(n, ""%.0lf"") +""/""+ FormatReal
(NumCiclos, ""%.0lf"") +""\n""),
     If(EQ(n%10, 0), Write(""."")));
  Set seriesOutlier01 = For (1, Card(AIAInputs.Pre), Serie(Real i)
  {
    Text nombre = Identify(AIAInputs.Pre[i]);
    Real inicio = TextFind(nombre, ""RationExpand"");
    Real final = TextLength(nombre)-1;
    Text nombresub = Sub(nombre, inicio, final);
    Text nombrefinal = Replace(nombresub, "","", "", "");
    Serie Eval(nombrefinal)
  });
  seriesOutlier01
});
////////////////////////////////////////////////////////////////////

Under Tol version from september 20th, Tol returns an aleatory error proximately 
one of each 800 times (personal an frequentist estimate, not bayesian neither 
critical). Curiously, under Tol version from september 29th, the frequency of the 
error is reduced to only 2 or 3 per thousand.

I don't know why the error appears and I don't know the difference between these 
two Tol versions."	defect	closed	highest		SetAlgebra	head	major	fixed		
