close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 13 years ago

Closed 13 years ago

#1516 closed defect (fixed)

Error en las funciones de Interpolación del StdLib

Reported by: IgnacioGonzalezPuente Owned by: Víctor de Buen Remiro
Priority: highest Milestone: TOL Packages
Component: Kernel Version: 3.1
Severity: blocker Keywords:
Cc:

Description (last modified by Víctor de Buen Remiro)

Hola,

Buscando funciones de interpolación,hemos visto que en StdLib::Interpolate::Scalar había algunas.

Sin embargo, al ir a probarlas nos ha dado error:

ERROR: [1] x_ no es un objeto valido para el tipo Real.

[Call stack]
  [3] Matrix hnd::handler::evalMat (Matrix X)
  [2] Matrix StdLib::Interpolate::Scalar::fillMissAllMat (Matrix X, Matrix Y, Text method, Real order)
  [1] Serie StdLib::Interpolate::Scalar::fillMissIsoSer (Serie y, Text method, Real order)

ERROR: [2] Argumentos erróneos para Real  (Real modo, Real a [, Real b])

[Call stack]
  [3] Matrix hnd::handler::evalMat (Matrix X)
  [2] Matrix StdLib::Interpolate::Scalar::fillMissAllMat (Matrix X, Matrix Y, Text method, Real order)
  [1] Serie StdLib::Interpolate::Scalar::fillMissIsoSer (Serie y, Text method, Real order)

ERROR: [3] Fallo en la función "eval"

[Call stack]
  [3] Matrix hnd::handler::evalMat (Matrix X)
  [2] Matrix StdLib::Interpolate::Scalar::fillMissAllMat (Matrix X, Matrix Y, Text method, Real order)
  [1] Serie StdLib::Interpolate::Scalar::fillMissIsoSer (Serie y, Text method, Real order)

Las series que hemos utilizado son las siguientes:

Serie ser001.t1 = SubSer(CalInd(W, Mensual), y2010, y2010);
Serie ser001.t2 = Log(SubSer(CalInd(W, Mensual), y2010m2, y2010m12));
Serie ser001.t3 = SubSer(Gaussian(1000, 50, Mensual), y2011, y2012);
Serie ser001 = ser001.t1 >> ser001.t2 >> ser001.t3;

Y las funciones que hemos probado son:

Serie StdLib::Interpolate::Scalar::fillMissIsoSer(ser001, "linear", 12);
Serie StdLib::Interpolate::Scalar::fillMissAllSer(ser001, "linear", 12);

Change History (6)

comment:1 Changed 13 years ago by Víctor de Buen Remiro

Resolution: fixed
Status: newclosed

(In [4599]) Fixes #1516

comment:2 Changed 13 years ago by Víctor de Buen Remiro

Ya está arreglado. Hay que actualizar el paquete StdLib y después arrancar una nueva sesión TOL para que tenga efecto pues dicho paquete se carga automáticamente y6 no es posible reemplazarlo en vivo.

comment:3 Changed 13 years ago by Víctor de Buen Remiro

Description: modified (diff)

comment:4 Changed 13 years ago by IgnacioGonzalezPuente

Priority: normalhighest
Resolution: fixed
Severity: majorblocker
Status: closedreopened

Hola,

Al intentar actualizar el paquete StdLib con la versión última de TOL (día 10 abril), me da el siguiente error:

ERROR: [21] OIS: 
Error en el formato de la cabecera XML al intentar leer la etiqueta</tolEngine>

[Call stack]
  [2] Set TolCore::TolPackage::Client::LocalInfo (Text name.version)
  [1] Real TolCore::TolPackage::Client::RemoteUpdatePackSyncInfo (Real showWarnings)

Y no contentos con eso, cuando he cerrado TOL y he abierto uno nuevo, ya no se me abre bien, y no paran de salir errores continuamente...

Por favor, necesito ayuda para saber cómo solucionarlo!!
Gracias de antemano

comment:5 Changed 13 years ago by Víctor de Buen Remiro

Actualiza el paquete StdLib otra vez que lo había creado con la 3.2 sin darme cuenta.

El código TOL o los mensajes se ven mejor si los escribes entre triples llaves

 {{{
   ...
 }}}

comment:6 Changed 13 years ago by Víctor de Buen Remiro

Resolution: fixed
Status: reopenedclosed
Note: See TracTickets for help on using tickets.