]> www.ginac.de Git - ginac.git/commit
[PATCH] Fix wrong numeric info on transcendental functions.
authorVladimir V. Kisil <V.Kisilv@leeds.ac.uk>
Tue, 7 Feb 2023 21:42:09 +0000 (22:42 +0100)
committerRichard Kreckel <kreckel@ginac.de>
Tue, 7 Feb 2023 21:42:09 +0000 (22:42 +0100)
commitf04b1642020867543dc89be6af68e6bef5928c79
treeb0e797b0428dc9b7362da8df89dca3a927a4ac07
parent64f88ee6b3f55383013d73a22eb3bfce60234dcc
[PATCH] Fix wrong numeric info on transcendental functions.

Although expression like cos(numeric(1, 2)) is not a symbolic, it
neither is numeric in the sense of CLN library. Without this patch
GiNaC crashes on expressions like cos(cos(ex(1)/ex(2))).

Thanks to Weng Zhanyang <cosine@pcbcos.xyz> for reporting this.
ginac/inifcns_trans.cpp