Am Montag, 9. Juli 2007 17:53 schrieb Jens Vollinga:
Hi,
I applied the print_csrc patch (Alexei's version) to CVS. Thanks! BTW, I noticed a similar issue in fderivative. It outputs code like
D[0](myfunc)(...) regardless of the print context. While it should be possible to declare D such that the above statement is valid C code (should be something like an array of functions taking another function as argument and returing a GiNaC::ex), the resulting code is less clear. I attach a proposed solution, which prints D0_myfunc(...) instead. Alexei probably wants to apply the same improvement as he did with the previous patch I submitted, but for me it works. Kind regards, Markus -- Markus Grabner - Computer Graphics and Vision Graz University of Technology, Inffeldgasse 16a/II, 8010 Graz, Austria Phone: +43/316/873-5041, Fax: +43/316/873-5050 WWW: http://www.icg.tugraz.at/Members/grabner