[Gretl-devel] (more serious) matrix bug

Sven Schreiber svetosch at gmx.net
Wed Jan 10 07:07:16 EST 2007


I now have several 'py4gretl' functions calculating some extra VECM
stuff. A problem I encountered during debugging is that generated
matrices "disappear" after redefining the function (without calling them!).

Example:

I run the following command:

matrix weakexo  = p4g_vecm_weakexo(endo, 2, 1, 3, 0, 0, rexo, 0, uexo)

...and yes, it's there:

? weakexo
weakexo

      3.1524       1.0000     0.075816
      6.2215       1.0000     0.012621



BUT when I run the script with the function definition p4g_vecm_weakexo
again (and nothing else!), the previous output disappears:

? weakexo
command 'weakexo' not recognized

Bug or feature? (I vote for bug.)

-sven




More information about the Gretl-devel mailing list