Fix an infinite loop in factor_multivariate.
authorAlexei Sheplyakov <Alexei.Sheplyakov@gmail.com>
Sun, 18 May 2014 10:24:40 +0000 (13:24 +0300)
committerAlexei Sheplyakov <Alexei.Sheplyakov@gmail.com>
Sun, 18 May 2014 12:59:42 +0000 (15:59 +0300)
commitedfa67d26bac695b5ef9911f3cda3ff50232e35a
tree38657cfa61c0d190a21c42e0e10fdbd38de7f578
parentd023220cece92637c3e55051f127650f2131de44
Fix an infinite loop in factor_multivariate.

Make sure the leading coefficient is really factorized (take care of
the integer content).
check/exam_factor.cpp
ginac/factor.cpp