Dear gretl users,
just a small piece of information about an internal bug with the native typename() function - the bug has already been fixed for the next gretl version, but is present in the current gretl version 2026d and the one before (2026c).
It bites only if you apply typename() to an array which is inside a gretl bundle. The subtype of the array (matrices, strings, ... see the forwarded message below) doesn't matter. What happens is that you erroneously get the string "null" as a result, instead of the expected subtype result "matrices", "strings", etc.
If you just call typename() on any plain object --i.e. not nested inside a bundle-- there is no problem. So for most of you out there there shouldn't really be an issue.
(However, my own contributed function package "parallel_func" is partly affected by that bug, and a fix in the form of a workaround is underway.)
cheers
Sven
| Betreff: | [Gretl-devel] Re: typename() null problem |
|---|---|
| Datum: | Wed, 11 Nov 2026 11:04:20 -0500 |
| Von: | Cottrell, Allin <cottrell@wfu.edu> |
| Antwort an: | Gretl development <gretl-devel@gretlml.univpm.it> |
| An: | Gretl development <gretl-devel@gretlml.univpm.it> |
Thanks, Allin. To be clear, this only affected nested arrays in a bundle, right? (But in principle any array type; matrices, strings, bundles, lists, arrays ?)