[Kstars-devel] Index Out-of-Range error in HighPMStarList::reindex

James Bowlin bowlin at mindspring.com
Thu Jul 10 21:13:46 CEST 2008


On Thu July 10 2008, Akarsh Simha wrote:
> Could it possibly be because of an overflow in RA / Dec (i.e. RA /
> Dec not in the correct range but something like 24.5 hours instead of
> 0.5 hours) caused by the PM formula in getIndexCoords() which sets a
> double instead of a dms? I'll look into this a little more.

I was wondering the same thing which is why I inquired about the RA
and Dec that were causing the problem.  I would intercept the code 
between the creation of the RA and Dec and the insertion into the 
StarIndex and print out the RA and Dec if the index is out of range.

-- 
Peace, James


More information about the Kstars-devel mailing list