lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> This can be fixed in lcomplex.c as follows:
> 
> -       if (x!=0) lua_pushnumber(L,x); */
> +       if (x!=0 || y==0) lua_pushnumber(L,x);

Thanks for finding and fixing this.
--lhf