Fixed a bug in is_polynomial() that caused expressions like
authorJens Vollinga <jensv@nikhef.nl>
Fri, 20 May 2011 11:55:35 +0000 (13:55 +0200)
committerJens Vollinga <jensv@nikhef.nl>
Fri, 20 May 2011 11:55:35 +0000 (13:55 +0200)
commit293ff6f6fe89c3e5413c8da57feedf3bd2016cd7
tree2b4cfcc8e8726a41fa580cd7b43718ad28228244
parentc152ba30b2938b3e1fe6927574883eff08dae88e
Fixed a bug in is_polynomial() that caused expressions like
sqrt(x*x+1)*sqrt(x+1) to be wrongly identified as polynomials in x.
Thanks to Florent Hivert for reporting.
check/exam_paranoia.cpp
ginac/expairseq.cpp