[GiNaC-list] factor() hangs on a simple expression, randomly

Richard B. Kreckel kreckel at in.terlu.de
Tue Dec 19 23:54:45 CET 2017


Hi,

On 12/18/2017 07:32 PM, Richard B. Kreckel wrote:
> I've pushed your patch. Thanks a lot!
Summary: Vitaly's original problem is solved now.

But still,
factor(expand((-1+6*x-l)*(-1+3*x-l)*(-2+4*x-l)*(-1+4*x-l)*(2+4*x-l)));
does not finish in half of the cases. Hensel lifting just keeps failing.

Anyone with better grasp of this is more than welcome to suggest a fix!

Bye,
  -richy.
-- 
Richard B. Kreckel
<https://in.terlu.de/~kreckel/>


More information about the GiNaC-list mailing list