added support for no-distance case
added support for no-distance case

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