Comment #63 on issue 1766 by Vinzent.Steinberg: expand(power_base=True) is too aggressive
http://code.google.com/p/sympy/issues/detail?id=1766

Now I'm only getting 2 failures:

_____________ sympy/core/tests/test_expand.py:test_expand_mul_mult _____________
  File "/home/one/src/sympy/sympy/core/tests/test_expand.py", line 109, in
test_expand_mul_mult
    5 + 12*x - 4*x**2 - 11*x**3
AssertionError
________________________________________________________________________________
______ sympy/integrals/tests/test_risch.py:test_heurisch_symbolic_coeffs _______ File "/home/one/src/sympy/sympy/integrals/tests/test_risch.py", line 121, in
test_heurisch_symbolic_coeffs
    assert equal(heurisch(log(x+y+z), y), -y + log(x+y+z)*(x+y+z))
AssertionError


In [1]: ((1+x)*(x - (1 - x)*(1 +x) + 6*(1 - x)*(1 +2*x))).expand(mul=1)
Out[1]:
                                                      2    3
-1 + (1 + 2⋅x)⋅(6 - 6⋅x) + x⋅(1 + 2⋅x)⋅(6 - 6⋅x) + 2⋅x  + x

vs. 5 + 12*x - 4*x**2 - 11*x**3

And

In [6]: heurisch(log(x+y+z), y)
Out[6]: -y + x⋅log(x + y + z) + y⋅log(x + y + z) + z⋅log(x + y + z)

vs. equal(..., -y + log(x+y+z)*(x+y+z))

Should be possibly solved by substitution.

A test still hangs, but I don't know which one. Probably it's in test_ode.py, your
nemesis. :)

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to sympy-iss...@googlegroups.com.
To unsubscribe from this group, send email to 
sympy-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en.

Reply via email to