ENH: Add exception to _nonzero_indices for zero-dim arrays
ENH: Add exception to _nonzero_indices for zero-dim arrays

This function causes a crash otherwise, because it loops over the number
of dimensions to construct sub-iterators. If the number of dimensions is
zero, the sub-iterators will not be initialized, causing problems later on.

brandon-rhodes/numpy,Linkid/numpy,ddasilva/numpy,mindw/numpy,abalkin/numpy,larsmans/numpy,mingwpy/numpy,grlee77/numpy,GaZ3ll3/numpy,tacaswell/numpy,grlee77/numpy,mattip/numpy,Anwesh43/numpy,KaelChen/numpy,bringingheavendown/numpy,MichaelAquilina/numpy,numpy/numpy,ViralLeadership/numpy,argriffing/numpy,larsmans/numpy,hainm/numpy,dato-code/numpy,moreati/numpy,jankoslavic/numpy,NextThought/pypy-numpy,ogrisel/numpy,naritta/numpy,joferkington/numpy,rudimeier/numpy,bmorris3/numpy,Linkid/numpy,pbrod/numpy,MichaelAquilina/numpy,hainm/numpy,solarjoe/numpy,musically-ut/numpy,ekalosak/numpy,mathdd/numpy,NextThought/pypy-numpy,rudimeier/numpy,AustereCuriosity/numpy,MaPePeR/numpy,sonnyhu/numpy,dimasad/numpy,jorisvandenbossche/numpy,andsor/numpy,kirillzhuravlev/numpy,jorisvandenbossche/numpy,MaPePeR/numpy,Linkid/numpy,mattip/numpy,pyparallel/numpy,simongibbons/numpy,madphysicist/numpy,b-carter/numpy,ajdawson/numpy,drasmuss/numpy,bringingheavendown/numpy,anntzer/numpy,abalkin/numpy,charris/numpy,mortada/numpy,has2k1/numpy,sonnyhu/numpy,BMJHayward/numpy,dimasad/numpy,gmcastil/numpy,shoyer/numpy,ChanderG/numpy,skymanaditya1/numpy,pbrod/numpy,Yusa95/numpy,ekalosak/numpy,dimasad/numpy,rgommers/numpy,cowlicks/numpy,bertrand-l/numpy,has2k1/numpy,dwillmer/numpy,madphysicist/numpy,skymanaditya1/numpy,chiffa/numpy,jorisvandenbossche/numpy,seberg/numpy,embray/numpy,githubmlai/numpy,tdsmith/numpy,WillieMaddox/numpy,SunghanKim/numpy,jonathanunderwood/numpy,seberg/numpy,felipebetancur/numpy,ekalosak/numpy,MaPePeR/numpy,madphysicist/numpy,argriffing/numpy,felipebetancur/numpy,bmorris3/numpy,mwiebe/numpy,rudimeier/numpy,kiwifb/numpy,drasmuss/numpy,jorisvandenbossche/numpy,ESSS/numpy,joferkington/numpy,rhythmsosad/numpy,sigma-random/numpy,ssanderson/numpy,immerrr/numpy,NextThought/pypy-numpy,bertrand-l/numpy,tdsmith/numpy,shoyer/numpy,mhvk/numpy,tynn/numpy,Eric89GXL/numpy,embray/numpy,pyparallel/numpy,joferkington/numpy,endolith/numpy,musically-ut/numpy,rhythmsosad/numpy,dato-code/numpy,AustereCuriosity/numpy,skymanaditya1/numpy,skwbc/numpy,yiakwy/numpy,skwbc/numpy,numpy/numpy,Anwesh43/numpy,ssanderson/numpy,mhvk/numpy,jschueller/numpy,githubmlai/numpy,simongibbons/numpy,moreati/numpy,MaPePeR/numpy,nguyentu1602/numpy,sonnyhu/numpy,sinhrks/numpy,maniteja123/numpy,ChanderG/numpy,KaelChen/numpy,ahaldane/numpy,mathdd/numpy,rajathkumarmp/numpy,NextThought/pypy-numpy,brandon-rhodes/numpy,bmorris3/numpy,ahaldane/numpy,Yusa95/numpy,solarjoe/numpy,BMJHayward/numpy,cjermain/numpy,mhvk/numpy,Srisai85/numpy,hainm/numpy,tynn/numpy,mingwpy/numpy,utke1/numpy,utke1/numpy,skymanaditya1/numpy,mingwpy/numpy,pizzathief/numpy,GaZ3ll3/numpy,ContinuumIO/numpy,stuarteberg/numpy,embray/numpy,Yusa95/numpy,CMartelLML/numpy,ogrisel/numpy,Eric89GXL/numpy,WarrenWeckesser/numpy,anntzer/numpy,pbrod/numpy,SiccarPoint/numpy,ViralLeadership/numpy,jankoslavic/numpy,KaelChen/numpy,charris/numpy,mingwpy/numpy,ajdawson/numpy,embray/numpy,rajathkumarmp/numpy,leifdenby/numpy,rherault-insa/numpy,ContinuumIO/numpy,pdebuyl/numpy,cjermain/numpy,sigma-random/numpy,rgommers/numpy,anntzer/numpy,naritta/numpy,endolith/numpy,Srisai85/numpy,ChanderG/numpy,rgommers/numpy,b-carter/numpy,yiakwy/numpy,chatcannon/numpy,simongibbons/numpy,SunghanKim/numpy,Srisai85/numpy,behzadnouri/numpy,utke1/numpy,ddasilva/numpy,immerrr/numpy,shoyer/numpy,stuarteberg/numpy,githubmlai/numpy,Eric89GXL/numpy,charris/numpy,ajdawson/numpy,GrimDerp/numpy,mwiebe/numpy,sigma-random/numpy,Srisai85/numpy,rajathkumarmp/numpy,dch312/numpy,naritta/numpy,yiakwy/numpy,GrimDerp/numpy,dch312/numpy,ViralLeadership/numpy,BabeNovelty/numpy,empeeu/numpy,rgommers/numpy,rajathkumarmp/numpy,nguyentu1602/numpy,pyparallel/numpy,b-carter/numpy,felipebetancur/numpy,jschueller/numpy,CMartelLML/numpy,mortada/numpy,immerrr/numpy,jankoslavic/numpy,ChristopherHogan/numpy,groutr/numpy,chatcannon/numpy,has2k1/numpy,empeeu/numpy,Dapid/numpy,Dapid/numpy,brandon-rhodes/numpy,GrimDerp/numpy,chiffa/numpy,solarjoe/numpy,njase/numpy,chatcannon/numpy,nbeaver/numpy,bertrand-l/numpy,dwillmer/numpy,dato-code/numpy,mindw/numpy,kirillzhuravlev/numpy,hainm/numpy,MSeifert04/numpy,jschueller/numpy,ChristopherHogan/numpy,sinhrks/numpy,kirillzhuravlev/numpy,njase/numpy,mindw/numpy,BabeNovelty/numpy,moreati/numpy,leifdenby/numpy,gmcastil/numpy,rmcgibbo/numpy,drasmuss/numpy,mhvk/numpy,SiccarPoint/numpy,sonnyhu/numpy,maniteja123/numpy,gfyoung/numpy,BMJHayward/numpy,immerrr/numpy,githubmlai/numpy,gfyoung/numpy,jakirkham/numpy,mortada/numpy,kirillzhuravlev/numpy,ssanderson/numpy,charris/numpy,pizzathief/numpy,madphysicist/numpy,Anwesh43/numpy,grlee77/numpy,MSeifert04/numpy,larsmans/numpy,has2k1/numpy,simongibbons/numpy,chiffa/numpy,tdsmith/numpy,pizzathief/numpy,njase/numpy,rmcgibbo/numpy,mathdd/numpy,joferkington/numpy,MichaelAquilina/numpy,jakirkham/numpy,ChanderG/numpy,jankoslavic/numpy,empeeu/numpy,yiakwy/numpy,ekalosak/numpy,naritta/numpy,tacaswell/numpy,mortada/numpy,ChristopherHogan/numpy,ContinuumIO/numpy,GrimDerp/numpy,dwillmer/numpy,SiccarPoint/numpy,ogrisel/numpy,MSeifert04/numpy,empeeu/numpy,pizzathief/numpy,jakirkham/numpy,cowlicks/numpy,tdsmith/numpy,nguyentu1602/numpy,behzadnouri/numpy,rhythmsosad/numpy,sigma-random/numpy,dwillmer/numpy,numpy/numpy,jonathanunderwood/numpy,ajdawson/numpy,madphysicist/numpy,pbrod/numpy,shoyer/numpy,WarrenWeckesser/numpy,rherault-insa/numpy,ogrisel/numpy,BabeNovelty/numpy,dimasad/numpy,endolith/numpy,mattip/numpy,pdebuyl/numpy,rmcgibbo/numpy,Yusa95/numpy,argriffing/numpy,AustereCuriosity/numpy,Anwesh43/numpy,WillieMaddox/numpy,WarrenWeckesser/numpy,CMartelLML/numpy,ogrisel/numpy,tacaswell/numpy,cowlicks/numpy,grlee77/numpy,bmorris3/numpy,sinhrks/numpy,pdebuyl/numpy,ahaldane/numpy,trankmichael/numpy,stuarteberg/numpy,mwiebe/numpy,BabeNovelty/numpy,andsor/numpy,maniteja123/numpy,pbrod/numpy,ddasilva/numpy,nbeaver/numpy,trankmichael/numpy,kiwifb/numpy,mattip/numpy,behzadnouri/numpy,groutr/numpy,numpy/numpy,CMartelLML/numpy,simongibbons/numpy,jakirkham/numpy,andsor/numpy,Linkid/numpy,rhythmsosad/numpy,jonathanunderwood/numpy,dch312/numpy,andsor/numpy,trankmichael/numpy,WarrenWeckesser/numpy,rmcgibbo/numpy,mhvk/numpy,embray/numpy,SiccarPoint/numpy,jorisvandenbossche/numpy,GaZ3ll3/numpy,cjermain/numpy,SunghanKim/numpy,sinhrks/numpy,MSeifert04/numpy,trankmichael/numpy,MichaelAquilina/numpy,KaelChen/numpy,skwbc/numpy,bringingheavendown/numpy,WarrenWeckesser/numpy,larsmans/numpy,musically-ut/numpy,leifdenby/numpy,ESSS/numpy,gfyoung/numpy,Dapid/numpy,ahaldane/numpy,mathdd/numpy,SunghanKim/numpy,seberg/numpy,abalkin/numpy,endolith/numpy,GaZ3ll3/numpy,stuarteberg/numpy,felipebetancur/numpy,ChristopherHogan/numpy,Eric89GXL/numpy,shoyer/numpy,pdebuyl/numpy,mindw/numpy,seberg/numpy,groutr/numpy,nguyentu1602/numpy,dato-code/numpy,ESSS/numpy,kiwifb/numpy,WillieMaddox/numpy,gmcastil/numpy,pizzathief/numpy,cowlicks/numpy,tynn/numpy,nbeaver/numpy,rudimeier/numpy,MSeifert04/numpy,cjermain/numpy,anntzer/numpy,BMJHayward/numpy,ahaldane/numpy,dch312/numpy,brandon-rhodes/numpy,jschueller/numpy,musically-ut/numpy,rherault-insa/numpy,jakirkham/numpy,grlee77/numpy