[GiNaC-list] problem about cl_N output format
Richard B. Kreckel
kreckel at in.terlu.de
Thu Apr 4 20:29:28 CEST 2019
Hi,
On 04.04.19 08:05, Feng Feng wrote:
> Hi all, I got a problem with the csrc_cl_N output format, for example,
>
> ex expr = pow(1+x(0),-6);
>
> expr.print(print_csrc_cl_N(cout));
>
>
> I got an output as
>
>
> expt( x(0)+1, (--6))
>
>
> and it seems that "--" should be only one "-".
>
> so is it normal or a bug?
Clearly a bug. I've pushed a fix to git.
Thanks for reporting this!
-richy.
PS: In the future, when reporting bugs in GiNaC or in other open source
projects, please send in complete test programs. This makes it easier
for developers.
More information about the GiNaC-list
mailing list