Hello,
lad function in libgretl(cvs) seems to doesn't work.
In the gui it works(release 1.9.0) with the same datas.

it output me many :
(process:6484): GLib-CRITICAL **: g_rand_int_range: assertion `rand != NULL' failed