[GiNaC-list] bug in diff

Mario Prausa prausa at physik.rwth-aachen.de
Sat Feb 9 18:48:00 CET 2019


Hi,


I found a bug in the diff function. The attached code produces:


a: -1
b: 2
c: 1+0


The derivative with respect to c is not simplified completely.

I tested this with both GiNaC 1.7.4 and the git version.


Cheers,

Mario


-------------- next part --------------
A non-text attachment was scrubbed...
Name: diffbug.cpp
Type: text/x-c++src
Size: 280 bytes
Desc: not available
URL: <http://www.cebix.net/pipermail/ginac-list/attachments/20190209/45b25cba/attachment.bin>


More information about the GiNaC-list mailing list