Fixed lots of bugs in factor_multivariate().
authorJens Vollinga <jensv@balin.nikhef.nl>
Thu, 13 Nov 2008 10:13:05 +0000 (11:13 +0100)
committerJens Vollinga <jensv@balin.nikhef.nl>
Thu, 13 Nov 2008 10:13:05 +0000 (11:13 +0100)
commit2b0ad5c381dc081cc4066b0c5f939f5169ad9ab3
tree79d163ed74b62b48aa29e4b53a0d5c42d388e350
parenta17a77e5c3d4ec2a92804debac65c75921f0156d
Fixed lots of bugs in factor_multivariate().

factor_univariate() takes now the content of the polynomial into accout when
choosing a prime. It also returns the chosen prime. This supports the
factor_multivariate() code.

Polynomials are expanded before calling factor_sqrfree(). This avoids problems
with some input polynomials.

Added static qualifiers to all hidden functions.
ginac/factor.cpp