Thanks for the patch. Maybe you forgot to attach the actual patch
implementing this equation?
This doesn't work if I run it:
In [1]: dsolve(x*f(x).diff(x)+f(x)-f(x)**2,f(x))
---------------------------------------------------------------------------
NotImplementedError Traceback (most recent call last)
/home/ondrej/repos/sympy/<ipython console> in <module>()
/home/ondrej/repos/sympy/sympy/solvers/solvers.pyc in dsolve(eq, funcs)
536 return solve_ODE_second_order(eq, f(x))
537 elif order == 1:
--> 538 return solve_ODE_first_order(eq, f(x))
539 else:
540 raise NotImplementedError("Not a differential equation!")
/home/ondrej/repos/sympy/sympy/solvers/solvers.pyc in
solve_ODE_first_order(eq, f)
583 #other cases of first order odes will be implemented here
584
--> 585 raise NotImplementedError("solve_ODE_first_order: Cannot
solve " + str(eq))
586
587 def solve_ODE_second_order(eq, f):
NotImplementedError: solve_ODE_first_order: Cannot solve x*D(f(x), x)
+ f(x) - f(x)**2
Ondrej
Yes, since you created 2 patches, you need to post both patches.
If I apply your patch above, it doesn't work, so you need to fix it.
Ondrej
Thanks, I'll give it a try in the evening.
>
>> If I apply your patch above, it doesn't work, so you need to fix it.
>
> Ok, I see what happened. I thought that git would apply the whole
> patch based on the diff of what it had originally downloaded, but it
> only put plus signs on the lines that I had changed since the first
> patch. I guess I need to learn more about how git works. Once
> again, sorry about that.
If you committed two patches (do "git log" to see), just do
git format-patch -2
Ondrej