added comment, used np.less(np.nanmin(a), 0) instead of np.less(a[~a_nan], 0).any() since the former is about twice faster
added comment, used np.less(np.nanmin(a), 0) instead of np.less(a[~a_nan], 0).any() since the former is about twice faster

endolith/scipy,mdhaber/scipy,jor-/scipy,aeklant/scipy,matthew-brett/scipy,anntzer/scipy,jamestwebber/scipy,WarrenWeckesser/scipy,rgommers/scipy,pizzathief/scipy,WarrenWeckesser/scipy,zerothi/scipy,rgommers/scipy,scipy/scipy,gertingold/scipy,person142/scipy,ilayn/scipy,gertingold/scipy,zerothi/scipy,mdhaber/scipy,zerothi/scipy,matthew-brett/scipy,perimosocordiae/scipy,gertingold/scipy,mdhaber/scipy,aeklant/scipy,grlee77/scipy,matthew-brett/scipy,pizzathief/scipy,lhilt/scipy,Stefan-Endres/scipy,vigna/scipy,Stefan-Endres/scipy,Eric89GXL/scipy,e-q/scipy,tylerjereddy/scipy,perimosocordiae/scipy,andyfaff/scipy,zerothi/scipy,tylerjereddy/scipy,perimosocordiae/scipy,arokem/scipy,Stefan-Endres/scipy,gertingold/scipy,jor-/scipy,endolith/scipy,pizzathief/scipy,matthew-brett/scipy,WarrenWeckesser/scipy,WarrenWeckesser/scipy,arokem/scipy,rgommers/scipy,andyfaff/scipy,nmayorov/scipy,anntzer/scipy,person142/scipy,aarchiba/scipy,grlee77/scipy,pizzathief/scipy,scipy/scipy,gertingold/scipy,grlee77/scipy,aarchiba/scipy,aarchiba/scipy,vigna/scipy,Stefan-Endres/scipy,scipy/scipy,andyfaff/scipy,vigna/scipy,e-q/scipy,anntzer/scipy,jamestwebber/scipy,lhilt/scipy,vigna/scipy,aeklant/scipy,rgommers/scipy,ilayn/scipy,Stefan-Endres/scipy,jamestwebber/scipy,lhilt/scipy,tylerjereddy/scipy,nmayorov/scipy,Eric89GXL/scipy,WarrenWeckesser/scipy,vigna/scipy,Eric89GXL/scipy,Eric89GXL/scipy,scipy/scipy,andyfaff/scipy,ilayn/scipy,anntzer/scipy,anntzer/scipy,Stefan-Endres/scipy,perimosocordiae/scipy,grlee77/scipy,jor-/scipy,matthew-brett/scipy,aarchiba/scipy,person142/scipy,mdhaber/scipy,endolith/scipy,endolith/scipy,perimosocordiae/scipy,perimosocordiae/scipy,grlee77/scipy,nmayorov/scipy,WarrenWeckesser/scipy,jor-/scipy,ilayn/scipy,aarchiba/scipy,scipy/scipy,e-q/scipy,ilayn/scipy,lhilt/scipy,arokem/scipy,aeklant/scipy,person142/scipy,mdhaber/scipy,Eric89GXL/scipy,arokem/scipy,endolith/scipy,arokem/scipy,tylerjereddy/scipy,e-q/scipy,nmayorov/scipy,jamestwebber/scipy,tylerjereddy/scipy,ilayn/scipy,zerothi/scipy,aeklant/scipy,mdhaber/scipy,andyfaff/scipy,endolith/scipy,andyfaff/scipy,jamestwebber/scipy,zerothi/scipy,e-q/scipy,rgommers/scipy,person142/scipy,nmayorov/scipy,Eric89GXL/scipy,scipy/scipy,pizzathief/scipy,lhilt/scipy,jor-/scipy,anntzer/scipy