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
I do not know if this is known or reported before. Feel free to close if so.
I see number of exceptions RecursionError: maximum recursion depth exceeded in comparison in sympy 1.12. Here is just one example out of many
from sympy import *
x=symbols('x')
integrand="ln(x**2+x-1)**2/x**3"
integrate( sympify(integrand), x)
gives very long output the end of which is
File "/usr/lib/python3.11/site-packages/sympy/core/power.py", line 1440, in _is_one
return (expr - 1).is_zero
~~~~~^~~
File "/usr/lib/python3.11/site-packages/sympy/core/decorators.py", line 236, in _func
return func(self, other)
^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/sympy/core/decorators.py", line 106, in binary_op_wrapper
return func(self, other)
^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/sympy/core/expr.py", line 208, in __sub__
return Add(self, -other)
^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/sympy/core/cache.py", line 72, in wrapper
retval = cfunc(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/sympy/core/operations.py", line 98, in __new__
c_part, nc_part, order_symbols = cls.flatten(args)
^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/sympy/core/add.py", line 265, in flatten
elif isinstance(o, TensExpr):
^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen abc>", line 119, in __instancecheck__
RecursionError: maximum recursion depth exceeded in comparison
I do not know if this is known or reported before. Feel free to close if so.
I see number of exceptions RecursionError: maximum recursion depth exceeded in comparison in sympy 1.12. Here is just one example out of many
gives very long output the end of which is
Version info
For reference the anti derivative should be
The text was updated successfully, but these errors were encountered: