address bug 893: nan/inf treatment
address bug 893: nan/inf treatment

kelle/astropy,funbaker/astropy,DougBurke/astropy,larrybradley/astropy,aleksandr-bakanov/astropy,tbabej/astropy,bsipocz/astropy,lpsinger/astropy,AustereCuriosity/astropy,larrybradley/astropy,dhomeier/astropy,DougBurke/astropy,dhomeier/astropy,DougBurke/astropy,saimn/astropy,aleksandr-bakanov/astropy,larrybradley/astropy,bsipocz/astropy,MSeifert04/astropy,astropy/astropy,larrybradley/astropy,astropy/astropy,DougBurke/astropy,StuartLittlefair/astropy,astropy/astropy,joergdietrich/astropy,larrybradley/astropy,saimn/astropy,AustereCuriosity/astropy,stargaser/astropy,pllim/astropy,saimn/astropy,pllim/astropy,joergdietrich/astropy,tbabej/astropy,pllim/astropy,kelle/astropy,kelle/astropy,astropy/astropy,mhvk/astropy,mhvk/astropy,joergdietrich/astropy,joergdietrich/astropy,joergdietrich/astropy,mhvk/astropy,dhomeier/astropy,kelle/astropy,StuartLittlefair/astropy,mhvk/astropy,funbaker/astropy,funbaker/astropy,StuartLittlefair/astropy,aleksandr-bakanov/astropy,saimn/astropy,kelle/astropy,funbaker/astropy,lpsinger/astropy,pllim/astropy,pllim/astropy,lpsinger/astropy,stargaser/astropy,mhvk/astropy,bsipocz/astropy,MSeifert04/astropy,AustereCuriosity/astropy,aleksandr-bakanov/astropy,dhomeier/astropy,MSeifert04/astropy,stargaser/astropy,StuartLittlefair/astropy,lpsinger/astropy,MSeifert04/astropy,astropy/astropy,stargaser/astropy,saimn/astropy,tbabej/astropy,StuartLittlefair/astropy,tbabej/astropy,tbabej/astropy,lpsinger/astropy,AustereCuriosity/astropy,AustereCuriosity/astropy,dhomeier/astropy,bsipocz/astropy