1926: ode tweaks
1926: ode tweaks

1) I get nervous when I see direct string addressing...I think the
endswith/startswith methods might make it clearer what is being tested.

2) <BLANKLINE> was deleted from a docstring

3) there were some minor text-edits made.

4) in odesimp,

a) everything is made into a list and at the very end it is returned as an
expression if there is only one element. I would prefer that it always
(like solve) return a list but I didn't try to change the existing behavior

b) a couple of assertions are added to validate the expectation and
existing code.

c) a loop over items in eq is made for renumbering. There are several cases
that were being skipped (but not generating an error) that involved lists.
To see them put the line "assert len(eq)==1" just before this loop.

5) as it's faster to test for inclusion in a set rather than a list, I made
some changes like that.

6) The sentence "The function is implemented recursively." got orphaned
from another docstring, I believe. So I deleted it.

7) the handling of the 1st_order case where the lhs was log(...) and the
rhs was 0 had Eq(newi.lhs.args[0]*C1, C1) but I think that
Eq(newi.lhs.args[0]/C1, C1) was intended, so I changed that and a test
that had begun to fail with the above changes then passed again.

tweak
:

cccfran/sympy,oliverlee/sympy,lidavidm/sympy,farhaanbukhsh/sympy,lindsayad/sympy,ahhda/sympy,lindsayad/sympy,lidavidm/sympy,pbrady/sympy,Mitchkoens/sympy,flacjacket/sympy,hrashk/sympy,kaushik94/sympy,saurabhjn76/sympy,debugger22/sympy,skidzo/sympy,toolforger/sympy,chaffra/sympy,atreyv/sympy,shikil/sympy,moble/sympy,moble/sympy,emon10005/sympy,kaichogami/sympy,ahhda/sympy,yukoba/sympy,moble/sympy,skidzo/sympy,skirpichev/omg,saurabhjn76/sympy,oliverlee/sympy,MridulS/sympy,souravsingh/sympy,jerli/sympy,abhiii5459/sympy,yukoba/sympy,skidzo/sympy,yukoba/sympy,cccfran/sympy,liangjiaxing/sympy,atsao72/sympy,ChristinaZografou/sympy,sampadsaha5/sympy,sahmed95/sympy,cswiercz/sympy,yashsharan/sympy,abhiii5459/sympy,Titan-C/sympy,jbbskinny/sympy,meghana1995/sympy,jerli/sympy,liangjiaxing/sympy,sunny94/temp,pandeyadarsh/sympy,Shaswat27/sympy,AkademieOlympia/sympy,lidavidm/sympy,sahilshekhawat/sympy,kumarkrishna/sympy,saurabhjn76/sympy,lindsayad/sympy,minrk/sympy,drufat/sympy,toolforger/sympy,atsao72/sympy,farhaanbukhsh/sympy,Titan-C/sympy,debugger22/sympy,pandeyadarsh/sympy,hargup/sympy,abloomston/sympy,pernici/sympy,vipulroxx/sympy,toolforger/sympy,rahuldan/sympy,bukzor/sympy,Sumith1896/sympy,mafiya69/sympy,sampadsaha5/sympy,drufat/sympy,AunShiLord/sympy,souravsingh/sympy,mafiya69/sympy,mcdaniel67/sympy,Sumith1896/sympy,vipulroxx/sympy,Arafatk/sympy,Designist/sympy,beni55/sympy,maniteja123/sympy,cccfran/sympy,sampadsaha5/sympy,wanglongqi/sympy,liangjiaxing/sympy,sahmed95/sympy,Curious72/sympy,iamutkarshtiwari/sympy,kmacinnis/sympy,wanglongqi/sympy,chaffra/sympy,amitjamadagni/sympy,vipulroxx/sympy,atreyv/sympy,hrashk/sympy,Davidjohnwilson/sympy,mafiya69/sympy,pbrady/sympy,Davidjohnwilson/sympy,Curious72/sympy,MechCoder/sympy,Gadal/sympy,dqnykamp/sympy,asm666/sympy,yashsharan/sympy,jaimahajan1997/sympy,drufat/sympy,shipci/sympy,kaushik94/sympy,VaibhavAgarwalVA/sympy,atsao72/sympy,jamesblunt/sympy,beni55/sympy,grevutiu-gabriel/sympy,AunShiLord/sympy,madan96/sympy,diofant/diofant,AkademieOlympia/sympy,abloomston/sympy,cswiercz/sympy,wyom/sympy,ahhda/sympy,Titan-C/sympy,MechCoder/sympy,ga7g08/sympy,sunny94/temp,cswiercz/sympy,Arafatk/sympy,hargup/sympy,Arafatk/sympy,Sumith1896/sympy,MechCoder/sympy,kaichogami/sympy,wyom/sympy,jbbskinny/sympy,Mitchkoens/sympy,Designist/sympy,AkademieOlympia/sympy,postvakje/sympy,sahilshekhawat/sympy,sahmed95/sympy,jbbskinny/sympy,MridulS/sympy,Shaswat27/sympy,pbrady/sympy,abhiii5459/sympy,aktech/sympy,emon10005/sympy,madan96/sympy,bukzor/sympy,shipci/sympy,shipci/sympy,garvitr/sympy,kaushik94/sympy,amitjamadagni/sympy,garvitr/sympy,iamutkarshtiwari/sympy,bukzor/sympy,souravsingh/sympy,VaibhavAgarwalVA/sympy,mcdaniel67/sympy,oliverlee/sympy,rahuldan/sympy,postvakje/sympy,minrk/sympy,kevalds51/sympy,emon10005/sympy,meghana1995/sympy,jaimahajan1997/sympy,dqnykamp/sympy,shikil/sympy,Vishluck/sympy,srjoglekar246/sympy,Vishluck/sympy,MridulS/sympy,kumarkrishna/sympy,kaichogami/sympy,aktech/sympy,kevalds51/sympy,VaibhavAgarwalVA/sympy,Designist/sympy,grevutiu-gabriel/sympy,Gadal/sympy,sahilshekhawat/sympy,kmacinnis/sympy,atreyv/sympy,hrashk/sympy,garvitr/sympy,rahuldan/sympy,abloomston/sympy,asm666/sympy,maniteja123/sympy,Davidjohnwilson/sympy,farhaanbukhsh/sympy,hargup/sympy,Shaswat27/sympy,pandeyadarsh/sympy,jerli/sympy,aktech/sympy,Gadal/sympy,maniteja123/sympy,debugger22/sympy,AunShiLord/sympy,Vishluck/sympy,dqnykamp/sympy,kmacinnis/sympy,jamesblunt/sympy,kumarkrishna/sympy,sunny94/temp,asm666/sympy,mcdaniel67/sympy,ChristinaZografou/sympy,wanglongqi/sympy,Mitchkoens/sympy,ga7g08/sympy,postvakje/sympy,jaimahajan1997/sympy,ChristinaZografou/sympy,yashsharan/sympy,grevutiu-gabriel/sympy,chaffra/sympy,wyom/sympy,ga7g08/sympy,shikil/sympy,madan96/sympy,meghana1995/sympy,jamesblunt/sympy,beni55/sympy,kevalds51/sympy,Curious72/sympy,iamutkarshtiwari/sympy