Fix ticket #670.
Fix ticket #670.

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