// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Library General Public License for more details.
//
-// You should have received a copy of the GNU Library General Public
-// License along with this library; if not, write to the
-// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-// Boston, MA 02111-1307, USA.
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
//
// $Id$
// -dw- avoid local data > 32k error by dynamic allocation of the
// array, problem for some compilers
- stars = new sgdVec3[SG_MAX_STARS];
+ stars = new SGVec3d[SG_MAX_STARS];
// build the full path name to the stars data base file
data_path.append( "stars" );
// cout << " star data = " << ra << " " << dec << " " << mag << endl;
- sgdSetVec3( stars[nstars], ra, dec, mag );
+ sgdSetVec3( stars[nstars].sg(), ra, dec, mag );
++nstars;
}