Fix to issue 261.
Fix to issue 261.

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