Re: Added test to make sure Bernoulli doesn't try to solve for n==1

2009-03-23 Thread Priit Laes
On Mar 23, 9:05 am, Ondrej Certik wrote: > On Mon, Mar 23, 2009 at 12:00 AM, Priit Laes wrote: > > > On Mar 23, 8:02 am, Ondrej Certik wrote: > >> On Sun, Mar 22, 2009 at 10:37 PM, Priit Laes wrote: > >> I think this was suggested by Aaron's previous patch. > > > Ouch. I missed Aaron's previou

Re: Added test to make sure Bernoulli doesn't try to solve for n==1

2009-03-23 Thread Ondrej Certik
On Mon, Mar 23, 2009 at 12:00 AM, Priit Laes wrote: > > > > On Mar 23, 8:02 am, Ondrej Certik wrote: >> On Sun, Mar 22, 2009 at 10:37 PM, Priit Laes wrote: >> I think this was suggested by Aaron's previous patch. >> > > Ouch. I missed Aaron's previous patch. But how about we add actually a > so

Re: Added test to make sure Bernoulli doesn't try to solve for n==1

2009-03-23 Thread Priit Laes
On Mar 23, 8:02 am, Ondrej Certik wrote: > On Sun, Mar 22, 2009 at 10:37 PM, Priit Laes wrote: > I think this was suggested by Aaron's previous patch. > Ouch. I missed Aaron's previous patch. But how about we add actually a solver for n == 1 case: Added support for Bernoulli differential equ

Re: Added test to make sure Bernoulli doesn't try to solve for n==1

2009-03-22 Thread Ondrej Certik
On Sun, Mar 22, 2009 at 10:37 PM, Priit Laes wrote: > > Why not fix the cause, instead of hiding the problem: > > diff --git a/sympy/solvers/solvers.py b/sympy/solvers/solvers.py > index 60a1ef5..6d97225 100644 > --- a/sympy/solvers/solvers.py > +++ b/sympy/solvers/solvers.py > @@ -584,7 +584,7 @

Re: Added test to make sure Bernoulli doesn't try to solve for n==1

2009-03-22 Thread Priit Laes
Why not fix the cause, instead of hiding the problem: diff --git a/sympy/solvers/solvers.py b/sympy/solvers/solvers.py index 60a1ef5..6d97225 100644 --- a/sympy/solvers/solvers.py +++ b/sympy/solvers/solvers.py @@ -584,7 +584,7 @@ def solve_ODE_first_order(eq, f): n = Wild('n', exclude=[f(x)

[PATCH 1/1] Added test to make sure Bernoulli doesn't try to solve for n==1

2009-03-22 Thread Aaron Meurer
--- sympy/solvers/tests/test_solvers.py |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/sympy/solvers/tests/test_solvers.py b/sympy/solvers/tests/test_solvers.py index 389b661..017accf 100644 --- a/sympy/solvers/tests/test_solvers.py +++ b/sympy/solvers/tests/test_s