[Gretl-devel] bug which is new in 1.7.4

Riccardo (Jack) Lucchetti r.lucchetti at univpm.it
Thu Apr 3 11:50:48 EDT 2008


On Thu, 3 Apr 2008, Riccardo (Jack) Lucchetti wrote:

> Ok, I think I've now sussed out what the issue is. Allin, correct me if I'm 
> wrong.

Minimal script exposing the problem:
<script>
function foo(scalar a, series x)
     scalar b = a
     list ret = null
     x2 = x+normal()
     x3 = x+normal()
     var b x2 x3 -q
     list ret += x3
     return list ret
end function

nulldata 10
x = normal()
a = 2
list X = foo(a, x)
</script>


Riccardo (Jack) Lucchetti
Dipartimento di Economia
Università Politecnica delle Marche

r.lucchetti at univpm.it
http://www.econ.univpm.it/lucchetti


More information about the Gretl-devel mailing list