[sympy] Error with simplification cancellation

2019-08-21 Thread p ni
For complicated expression, the simplification does not seem to work out. The beta_1 in the numerator and the denominator should have precisely canceled out, however they do not. -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from

Re: [sympy] Should symbolic integration fail gracefully?

2019-08-21 Thread Aaron Meurer
On Wed, Aug 21, 2019 at 3:10 AM David Bailey wrote: > > On 20/08/2019 23:35, Oscar Benjamin wrote: > > Hi David, > > Can you open an issue on Github please. That's a bug that should be fixed. > > The problem is, I tried to join Github a while back, and then needed a > password reset. It said it

Re: [sympy] Should symbolic integration fail gracefully?

2019-08-21 Thread Oscar Benjamin
I've opened an issue: https://github.com/sympy/sympy/issues/17473 On Wed, 21 Aug 2019 at 12:11, Oscar Benjamin wrote: > > On Wed, 21 Aug 2019 at 11:50, David Bailey wrote: > > > > On 20/08/2019 21:10, Aaron Meurer wrote: > > > > "TypeError: cannot determine truth value of Relational" generally

Re: [sympy] Should symbolic integration fail gracefully?

2019-08-21 Thread Oscar Benjamin
On Wed, 21 Aug 2019 at 11:50, David Bailey wrote: > > On 20/08/2019 21:10, Aaron Meurer wrote: > > "TypeError: cannot determine truth value of Relational" generally > indicates a bug in SymPy. And yes, integrate() should always return > unevaluated when it can't compute the integral. > > I

Re: [sympy] Should symbolic integration fail gracefully?

2019-08-21 Thread David Bailey
On 20/08/2019 21:10, Aaron Meurer wrote: "TypeError: cannot determine truth value of Relational" generally indicates a bug in SymPy. And yes, integrate() should always return unevaluated when it can't compute the integral. I imagine that symbolic integration may be littered by tricky problems

[sympy] Re: Should symbolic integration fail gracefully?

2019-08-21 Thread Kalevi Suominen
We should have, for example, `if (b < 0) == True or ...` here File "C:\SymPyWorkbook\lib\site-packages\sympy\integrals\meijerint.py", line 1684, in _meijerint_indefinite_1 if b < 0 or f.subs(x, 0).has(nan, zoo): Kalevi Suominen On Tuesday, August 20, 2019 at 11:08:59 PM UTC+3, David Bailey

Re: [sympy] Should symbolic integration fail gracefully?

2019-08-21 Thread David Bailey
On 20/08/2019 23:35, Oscar Benjamin wrote: Hi David, Can you open an issue on Github please. That's a bug that should be fixed. The problem is, I tried to join Github a while back, and then needed a password reset. It said it had sent me an email to reset my password, but it never appeared