Dear Richard, I see your point, this can be indeed a better way. However, I am a bit far from the polynomial arithmetic to make a specific suggestion here. Best wishes, Vladimir ________________________________________ From: GiNaC-devel <ginac-devel-bounces@ginac.de> on behalf of Richard B. Kreckel <kreckel@in.terlu.de> Sent: 02 August 2020 17:59 To: ginac-devel@ginac.de Subject: Re: [GiNaC-devel] Sqrfree_parfrac Issue GiNaC Hi, On 24.07.20 00:08, Vladimir V. Kisil wrote:
Many thanks for reporting the bug with a detailed description. I am attaching a patch to fix it.
I've applied the patch (as you've surely noticed, Vladimir). However, I am beginning to think that it is best to fix sqrfree_yun such that no external workarounds are necessary. It's a little bit tricky: The sign seems to get lost in the content part of the input polynomial. (Remember that it may itself be a polynomial in other variables.) And the unit part is not deterministic for multivariate polynomials. I'm working on a patch. -richard. _______________________________________________ GiNaC-devel mailing list GiNaC-devel@ginac.de https://www.ginac.de/mailman/listinfo/ginac-devel