Address two more comments from @mhvk: Fixes a faulty logical expression in the if statement.  Changes usages of numpy.asarray to numpy.asanyarray in anticipation of Quantity support.
Address two more comments from @mhvk: Fixes a faulty logical expression in the if statement.  Changes usages of numpy.asarray to numpy.asanyarray in anticipation of Quantity support.

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