Hi! Jens Vollinga wrote:
Richard B. Kreckel schrieb:
Well, sometimes it fails to factor. In ginsh:
factor(expand((x+1)*(x+4))); 4+x^2+5*x
thanks! I fixed this bug.
Indeed. Thanks! Now, again in ginsh notation:
factor(expand((x+4+x^2-x^3+43*x^4)*(x+1-x^2-3*x^3+4*x^4))); Segmentation fault
Since you already looked at the code I should maybe comment on it with respect to cln: there is quite some stuff in factor.cpp that actually could be part of cln. It is mainly the type/class for modular univariate polynomials. If you compare the features of my class with the equivalent type in cln you can see why I needed this additional type.
Well, I don't see. :-( What is your point? Cheers -richy. -- Richard B. Kreckel <http://www.ginac.de/~kreckel/>