[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: complex module does not print zero
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Fri, 20 May 2016 08:48:09 -0300
> 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