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

Akarsh Simha akarshsimha at gmail.com
Thu Jul 10 00:15:39 CEST 2008


Hi James,

I'm getting an index out-of-range error at some date far in the future
(around 3000 AD) where SkyMesh::indexStar() is reporting a trixel =
512. This is causing an index out-of-range in the starIndex which has
only 512 slots.

How does SkyMesh::indexStar() work? Does it return a number in the
range 0 - 255 or is it 1 - 256? This is approximately line #82 of
highpmstarlist.cpp

Regards
Akarsh


More information about the Kstars-devel mailing list