﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
351	Unknown crash in Serie function	César Pérez Álvarez	Víctor de Buen Remiro	"When we compile this:

//////////////////////////////////////////////////////////////////////////////
Serie IntTrend(Serie ind)
//////////////////////////////////////////////////////////////////////////////
{
  Serie ten = DifEq(1/(1-B),SubSer(ind,y2002, y2020));
  ten - (0*ind)<<Expand(B:(ind * ten)*Not(ind),0)
};
Serie IndNav         = CalInd((Range(M(12)*D(1),0,36)),Diario);
Serie IntTNav2  = IntTrend(IndNav)^2;
--------------------------------------------------------------------------------

Tol breaks down. If we try to isolate the error with this code:

Serie ind = IndNav;
Serie ten = DifEq(1/(1-B),SubSer(ind,y2002, y2020));
Serie res = (ten - (0*ind)<<Expand(B:(ind * ten)*Not(ind),0))^2;
--------------------------------------------------------------------------------

It runs perfectly.

And the last one, if we compile this:

//////////////////////////////////////////////////////////////////////////////
Serie IntTrend(Serie ind)
//////////////////////////////////////////////////////////////////////////////
{
  Serie ten = DifEq(1/(1-B),SubSer(ind,y2002, y2020));
  ten - (0*ind)<<Expand(B:(ind * ten)*Not(ind),0)
};
Serie IndNav         = CalInd((Range(M(12)*D(1),0,36)),Diario);
Serie IntTNav2  = IntTrend(IndNav);
--------------------------------------------------------------------------------
It runs perfectly. I think that this bug is related with '^2' when we use
 the function IntTrend."	defect	closed	high		Various	head	major	fixed		
