[Gretl-devel] Small bug in saving package

Allin Cottrell cottrell at wfu.edu
Fri Sep 4 10:36:02 EDT 2009


On Fri, 4 Sep 2009, Marcin BÅ^Bażejowski wrote:

> lets run following simple script and save it as new package:
> <script>
> function scalar foo (scalar alpha[0:1:0.1])
>     printf "alpha is: %f\n", alpha
> end function
> </script?
>
> We would expect, that when we run this package in GUI default value of
> alpha will be "0.1" but is "0".
> But when we manualy edit .gfn file and change field "default" to "0.1"
> in GUI we then get value "0.1".

Thanks.  This was a locale decimal-point bug.  Fixed in CVS.

Allin.



More information about the Gretl-devel mailing list