You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ python z.py Traceback (most recent call last): File "z.py", line 5, in <module> print(integrate(f, t)) File "/Users/enojb/current/sympy/sympy/sympy/integrals/integrals.py", line 1520, in integrate return integral.doit(**doit_flags) File "/Users/enojb/current/sympy/sympy/sympy/integrals/integrals.py", line 573, in doit antideriv = self._eval_integral( File "/Users/enojb/current/sympy/sympy/sympy/integrals/integrals.py", line 905, in _eval_integral result, i = risch_integrate(f, x, separate_integral=True, File "/Users/enojb/current/sympy/sympy/sympy/integrals/risch.py", line 1754, in risch_integrate ans, i, b = integrate_hyperexponential(fa, fd, DE, conds=conds) File "/Users/enojb/current/sympy/sympy/sympy/integrals/risch.py", line 1521, in integrate_hyperexponential i = p - (qd*derivation(qa, DE) - qa*derivation(qd, DE)).as_expr()/\ File "/Users/enojb/current/sympy/sympy/sympy/integrals/risch.py", line 898, in derivation r += (d*pv.diff(v)).as_poly(t)TypeError: unsupported operand type(s) for +=: 'Poly' and 'NoneType'
This happens with both Python 3.5 and 3.8 on OSX.
The text was updated successfully, but these errors were encountered:
integrate_hyperexponential_polynomial actually has to deal with Laurent polynomials. Positive and negative and exponents are handled separately earlier in the loop
The script below fails non-deterministically for me:
Half the time I get
which I think is the right answer.
The other half of the time I get:
This happens with both Python 3.5 and 3.8 on OSX.
The text was updated successfully, but these errors were encountered: