BUG: fix validation in csgraph.shortest_path
BUG: fix validation in csgraph.shortest_path

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