On Wed, 10 Oct 2012, Allin Cottrell wrote:
I've now fixed another variant of this "orphan lag"
bug, triggered by the
following:
<hansl>
open data9-7
series QNC_1 = QNC(-1)
delete QNC
series QNC = normal()
</hansl>
In this case QNC_1 didn't appear in the GUI. But now it does.
The fix is now in the snapshots too.
Let me point out one thing. If you were to run this script
<hansl>
open data9-7
series QNC_1 = QNC(-1)
series QNC = normal()
</hansl>
then QNC_1 would still appear as a "lag child" of series QNC in the
GUI, despite the fact that QNC itself has been redefined, so that
QNC_1 is not the first lag of the new QNC.
This has nothing to do with the issue pointed out by Ignacio
upthread, which was a gretl bug, pure and simple, now fixed. I'm
just saying that there's a limit to the extent that gretl will
attempt to "fix up" perverse user input -- in case anyone was
wondering!
Allin