Covered a few more edge conditions for scipy.cluster.hierarchy.is_valid_linkage.
Covered a few more edge conditions for scipy.cluster.hierarchy.is_valid_linkage.

surhudm/scipy,pnedunuri/scipy,apbard/scipy,trankmichael/scipy,anntzer/scipy,ilayn/scipy,futurulus/scipy,vberaudi/scipy,behzadnouri/scipy,Shaswat27/scipy,mdhaber/scipy,maniteja123/scipy,sriki18/scipy,pbrod/scipy,ales-erjavec/scipy,nmayorov/scipy,gfyoung/scipy,Stefan-Endres/scipy,anntzer/scipy,apbard/scipy,pschella/scipy,felipebetancur/scipy,ortylp/scipy,scipy/scipy,perimosocordiae/scipy,grlee77/scipy,argriffing/scipy,ilayn/scipy,endolith/scipy,mdhaber/scipy,ChanderG/scipy,mdhaber/scipy,lhilt/scipy,Eric89GXL/scipy,vigna/scipy,woodscn/scipy,scipy/scipy,vigna/scipy,ogrisel/scipy,larsmans/scipy,ndchorley/scipy,gdooper/scipy,FRidh/scipy,teoliphant/scipy,kalvdans/scipy,pschella/scipy,ilayn/scipy,Gillu13/scipy,mgaitan/scipy,sonnyhu/scipy,njwilson23/scipy,nonhermitian/scipy,Dapid/scipy,anntzer/scipy,woodscn/scipy,lukauskas/scipy,argriffing/scipy,mgaitan/scipy,mingwpy/scipy,matthewalbani/scipy,nonhermitian/scipy,sriki18/scipy,felipebetancur/scipy,cpaulik/scipy,trankmichael/scipy,juliantaylor/scipy,mortonjt/scipy,matthewalbani/scipy,aeklant/scipy,jseabold/scipy,andim/scipy,efiring/scipy,Gillu13/scipy,scipy/scipy,andyfaff/scipy,pyramania/scipy,vanpact/scipy,petebachant/scipy,mtrbean/scipy,aarchiba/scipy,jonycgn/scipy,andim/scipy,mortada/scipy,pnedunuri/scipy,andyfaff/scipy,nonhermitian/scipy,Srisai85/scipy,kleskjr/scipy,larsmans/scipy,sriki18/scipy,zaxliu/scipy,matthewalbani/scipy,aarchiba/scipy,Kamp9/scipy,mtrbean/scipy,fredrikw/scipy,tylerjereddy/scipy,haudren/scipy,hainm/scipy,jonycgn/scipy,person142/scipy,zaxliu/scipy,jsilter/scipy,vanpact/scipy,scipy/scipy,mikebenfield/scipy,vanpact/scipy,Stefan-Endres/scipy,vigna/scipy,mdhaber/scipy,perimosocordiae/scipy,efiring/scipy,mingwpy/scipy,aeklant/scipy,gertingold/scipy,giorgiop/scipy,jsilter/scipy,jakevdp/scipy,fernand/scipy,maciejkula/scipy,fernand/scipy,behzadnouri/scipy,chatcannon/scipy,petebachant/scipy,maniteja123/scipy,grlee77/scipy,minhlongdo/scipy,kleskjr/scipy,mortada/scipy,josephcslater/scipy,cpaulik/scipy,mhogg/scipy,piyush0609/scipy,arokem/scipy,njwilson23/scipy,vanpact/scipy,person142/scipy,dch312/scipy,fernand/scipy,petebachant/scipy,WillieMaddox/scipy,Newman101/scipy,jor-/scipy,pizzathief/scipy,larsmans/scipy,trankmichael/scipy,rmcgibbo/scipy,aarchiba/scipy,surhudm/scipy,andyfaff/scipy,hainm/scipy,WillieMaddox/scipy,ogrisel/scipy,Srisai85/scipy,mortonjt/scipy,matthew-brett/scipy,gef756/scipy,efiring/scipy,sargas/scipy,andim/scipy,mgaitan/scipy,juliantaylor/scipy,sriki18/scipy,jseabold/scipy,nonhermitian/scipy,mortada/scipy,Shaswat27/scipy,pschella/scipy,befelix/scipy,grlee77/scipy,ogrisel/scipy,nmayorov/scipy,aarchiba/scipy,befelix/scipy,vberaudi/scipy,perimosocordiae/scipy,maciejkula/scipy,kleskjr/scipy,Eric89GXL/scipy,chatcannon/scipy,aman-iitj/scipy,endolith/scipy,pizzathief/scipy,ndchorley/scipy,maniteja123/scipy,minhlongdo/scipy,Newman101/scipy,cpaulik/scipy,tylerjereddy/scipy,jamestwebber/scipy,mtrbean/scipy,aman-iitj/scipy,arokem/scipy,fredrikw/scipy,Eric89GXL/scipy,Gillu13/scipy,nonhermitian/scipy,mdhaber/scipy,juliantaylor/scipy,nvoron23/scipy,trankmichael/scipy,Stefan-Endres/scipy,Newman101/scipy,josephcslater/scipy,jjhelmus/scipy,nmayorov/scipy,cpaulik/scipy,jonycgn/scipy,haudren/scipy,WillieMaddox/scipy,tylerjereddy/scipy,zaxliu/scipy,gertingold/scipy,Srisai85/scipy,Dapid/scipy,matthew-brett/scipy,Stefan-Endres/scipy,anielsen001/scipy,cpaulik/scipy,ales-erjavec/scipy,gef756/scipy,Shaswat27/scipy,pizzathief/scipy,scipy/scipy,Shaswat27/scipy,apbard/scipy,maniteja123/scipy,mhogg/scipy,jakevdp/scipy,matthewalbani/scipy,ales-erjavec/scipy,Newman101/scipy,hainm/scipy,sonnyhu/scipy,sargas/scipy,Newman101/scipy,ortylp/scipy,aman-iitj/scipy,piyush0609/scipy,jor-/scipy,ortylp/scipy,andyfaff/scipy,fredrikw/scipy,jsilter/scipy,haudren/scipy,juliantaylor/scipy,Srisai85/scipy,fernand/scipy,niknow/scipy,mikebenfield/scipy,mingwpy/scipy,raoulbq/scipy,ndchorley/scipy,pnedunuri/scipy,pbrod/scipy,mhogg/scipy,newemailjdm/scipy,zxsted/scipy,witcxc/scipy,haudren/scipy,rgommers/scipy,andyfaff/scipy,ales-erjavec/scipy,dch312/scipy,grlee77/scipy,matthew-brett/scipy,FRidh/scipy,sonnyhu/scipy,felipebetancur/scipy,mingwpy/scipy,ogrisel/scipy,trankmichael/scipy,befelix/scipy,ales-erjavec/scipy,vberaudi/scipy,felipebetancur/scipy,pschella/scipy,Shaswat27/scipy,behzadnouri/scipy,maciejkula/scipy,witcxc/scipy,ilayn/scipy,zaxliu/scipy,anielsen001/scipy,mgaitan/scipy,maniteja123/scipy,ChanderG/scipy,ortylp/scipy,hainm/scipy,futurulus/scipy,efiring/scipy,nvoron23/scipy,chatcannon/scipy,newemailjdm/scipy,vhaasteren/scipy,nvoron23/scipy,sonnyhu/scipy,Dapid/scipy,minhlongdo/scipy,newemailjdm/scipy,FRidh/scipy,zerothi/scipy,Kamp9/scipy,woodscn/scipy,richardotis/scipy,zerothi/scipy,gdooper/scipy,zerothi/scipy,zerothi/scipy,zaxliu/scipy,futurulus/scipy,gef756/scipy,niknow/scipy,endolith/scipy,trankmichael/scipy,rmcgibbo/scipy,petebachant/scipy,mtrbean/scipy,argriffing/scipy,vhaasteren/scipy,aeklant/scipy,witcxc/scipy,haudren/scipy,vberaudi/scipy,raoulbq/scipy,giorgiop/scipy,bkendzior/scipy,kalvdans/scipy,ChanderG/scipy,richardotis/scipy,FRidh/scipy,pschella/scipy,gfyoung/scipy,pizzathief/scipy,jjhelmus/scipy,befelix/scipy,piyush0609/scipy,argriffing/scipy,jakevdp/scipy,gdooper/scipy,zxsted/scipy,Shaswat27/scipy,vberaudi/scipy,jonycgn/scipy,e-q/scipy,pyramania/scipy,WarrenWeckesser/scipy,zxsted/scipy,giorgiop/scipy,mgaitan/scipy,giorgiop/scipy,surhudm/scipy,jsilter/scipy,minhlongdo/scipy,futurulus/scipy,teoliphant/scipy,lhilt/scipy,mgaitan/scipy,kleskjr/scipy,witcxc/scipy,jseabold/scipy,bkendzior/scipy,jjhelmus/scipy,jonycgn/scipy,raoulbq/scipy,Stefan-Endres/scipy,gef756/scipy,WillieMaddox/scipy,anielsen001/scipy,Kamp9/scipy,lukauskas/scipy,anntzer/scipy,bkendzior/scipy,sauliusl/scipy,lhilt/scipy,vanpact/scipy,ortylp/scipy,ortylp/scipy,dch312/scipy,gfyoung/scipy,Stefan-Endres/scipy,sriki18/scipy,newemailjdm/scipy,sonnyhu/scipy,fernand/scipy,WillieMaddox/scipy,zxsted/scipy,Eric89GXL/scipy,matthew-brett/scipy,jamestwebber/scipy,richardotis/scipy,arokem/scipy,andyfaff/scipy,futurulus/scipy,jakevdp/scipy,perimosocordiae/scipy,giorgiop/scipy,sauliusl/scipy,rgommers/scipy,jor-/scipy,pyramania/scipy,person142/scipy,niknow/scipy,woodscn/scipy,rmcgibbo/scipy,gdooper/scipy,sonnyhu/scipy,surhudm/scipy,witcxc/scipy,zxsted/scipy,e-q/scipy,lukauskas/scipy,jseabold/scipy,efiring/scipy,ogrisel/scipy,dominicelse/scipy,arokem/scipy,teoliphant/scipy,vhaasteren/scipy,pbrod/scipy,andim/scipy,endolith/scipy,Srisai85/scipy,WillieMaddox/scipy,ChanderG/scipy,lhilt/scipy,vhaasteren/scipy,josephcslater/scipy,vigna/scipy,mortonjt/scipy,fredrikw/scipy,maciejkula/scipy,e-q/scipy,e-q/scipy,fredrikw/scipy,mortada/scipy,jsilter/scipy,vberaudi/scipy,dch312/scipy,vanpact/scipy,anielsen001/scipy,grlee77/scipy,gertingold/scipy,Kamp9/scipy,ndchorley/scipy,felipebetancur/scipy,mhogg/scipy,cpaulik/scipy,chatcannon/scipy,mortada/scipy,ndchorley/scipy,rgommers/scipy,larsmans/scipy,FRidh/scipy,tylerjereddy/scipy,tylerjereddy/scipy,ilayn/scipy,argriffing/scipy,argriffing/scipy,mtrbean/scipy,chatcannon/scipy,Srisai85/scipy,rmcgibbo/scipy,jjhelmus/scipy,Newman101/scipy,perimosocordiae/scipy,njwilson23/scipy,mhogg/scipy,Dapid/scipy,arokem/scipy,hainm/scipy,rgommers/scipy,sauliusl/scipy,aeklant/scipy,dominicelse/scipy,richardotis/scipy,perimosocordiae/scipy,Gillu13/scipy,rgommers/scipy,matthew-brett/scipy,rmcgibbo/scipy,larsmans/scipy,Eric89GXL/scipy,WarrenWeckesser/scipy,mingwpy/scipy,aarchiba/scipy,gertingold/scipy,ales-erjavec/scipy,pyramania/scipy,apbard/scipy,mikebenfield/scipy,fredrikw/scipy,vhaasteren/scipy,kalvdans/scipy,Kamp9/scipy,woodscn/scipy,minhlongdo/scipy,mingwpy/scipy,WarrenWeckesser/scipy,mortada/scipy,petebachant/scipy,scipy/scipy,maciejkula/scipy,mhogg/scipy,Eric89GXL/scipy,kalvdans/scipy,lukauskas/scipy,mortonjt/scipy,WarrenWeckesser/scipy,gertingold/scipy,pnedunuri/scipy,Dapid/scipy,newemailjdm/scipy,Kamp9/scipy,jonycgn/scipy,apbard/scipy,endolith/scipy,niknow/scipy,niknow/scipy,dominicelse/scipy,Dapid/scipy,person142/scipy,nvoron23/scipy,lhilt/scipy,jamestwebber/scipy,richardotis/scipy,endolith/scipy,sauliusl/scipy,josephcslater/scipy,dominicelse/scipy,lukauskas/scipy,Gillu13/scipy,aman-iitj/scipy,rmcgibbo/scipy,behzadnouri/scipy,jamestwebber/scipy,dch312/scipy,sauliusl/scipy,raoulbq/scipy,juliantaylor/scipy,kleskjr/scipy,njwilson23/scipy,andim/scipy,mikebenfield/scipy,mtrbean/scipy,surhudm/scipy,WarrenWeckesser/scipy,befelix/scipy,josephcslater/scipy,larsmans/scipy,ChanderG/scipy,jseabold/scipy,mdhaber/scipy,dominicelse/scipy,anntzer/scipy,behzadnouri/scipy,fernand/scipy,niknow/scipy,anielsen001/scipy,nmayorov/scipy,sargas/scipy,pbrod/scipy,richardotis/scipy,chatcannon/scipy,gfyoung/scipy,raoulbq/scipy,jjhelmus/scipy,vigna/scipy,aman-iitj/scipy,minhlongdo/scipy,jor-/scipy,haudren/scipy,zxsted/scipy,e-q/scipy,anielsen001/scipy,teoliphant/scipy,gfyoung/scipy,nvoron23/scipy,FRidh/scipy,piyush0609/scipy,woodscn/scipy,gef756/scipy,lukauskas/scipy,anntzer/scipy,efiring/scipy,bkendzior/scipy,person142/scipy,mortonjt/scipy,zaxliu/scipy,ndchorley/scipy,giorgiop/scipy,pizzathief/scipy,nmayorov/scipy,WarrenWeckesser/scipy,felipebetancur/scipy,pbrod/scipy,jor-/scipy,pbrod/scipy,kalvdans/scipy,aman-iitj/scipy,njwilson23/scipy,njwilson23/scipy,zerothi/scipy,teoliphant/scipy,newemailjdm/scipy,jseabold/scipy,petebachant/scipy,raoulbq/scipy,hainm/scipy,ilayn/scipy,piyush0609/scipy,andim/scipy,sauliusl/scipy,surhudm/scipy,nvoron23/scipy,piyush0609/scipy,gef756/scipy,sargas/scipy,aeklant/scipy,zerothi/scipy,ChanderG/scipy,jamestwebber/scipy,kleskjr/scipy,maniteja123/scipy,bkendzior/scipy,vhaasteren/scipy,Gillu13/scipy,pnedunuri/scipy,matthewalbani/scipy,futurulus/scipy,sargas/scipy,mortonjt/scipy,jakevdp/scipy,mikebenfield/scipy,behzadnouri/scipy,pnedunuri/scipy,sriki18/scipy,pyramania/scipy,gdooper/scipy