On Mon, 16 Sep 2002, Chris Dams wrote: [...]
Ah, now I see the file mul.cpp indeed changed. I was looking at add.cpp and did not see it changing. This, however, means that you did not use my suggestion for the file add.cpp. I did not put it in the patch because it was only one line. One of my previous posts was about a problem when printing cln-output. The problem was that there was no plus sign before a cl_N-constructor in the output. After this was fixed for the coefficients, I discovered that the numeric term of an add suffers from the same problem. Therefore I think the line
if (overall_coeff.info(info_flags::positive))
in the file add.cpp should be
if (overall_coeff.info(info_flags::positive) || is_a<print_csrc_cl_N>(c))
I think this should still be changed.
Right. Thanks for catching this! Cheers -richy. -- Richard B. Kreckel <Richard.Kreckel@GiNaC.DE> <http://www.ginac.de/~kreckel/>