IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 24, 2010, 11:22:25 AM (16 years ago)
Author:
eugene
Message:

large update merging in changes for Ohana to support large files

Location:
trunk/Ohana
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana

  • trunk/Ohana/src/opihi/dvo/gstar.c

    r23664 r27435  
    1111  double Mcat, Mrel;
    1212  double *RA, *DEC;
    13   int i, j, k, m, N, *N1, Nsecfilt, NPTS, QUIET, FULL_OUTPUT, INST;
    14   int Nstars, found, GetMeasures, Nlo, Nhi;
     13  off_t i, Nstars, *N1;
     14  off_t j, k, m, N, Nlo, Nhi;
     15  int Nsecfilt, NPTS, QUIET, FULL_OUTPUT, INST;
     16  int found, GetMeasures;
    1517  int SaveVectors;
    1618  Vector *vec1, *vec2, *vec3, *vec4, *vec5, *vec6;
     
    102104  ALLOCATE (RA, double, Nstars);
    103105  ALLOCATE (DEC, double, Nstars);
    104   ALLOCATE (N1, int, Nstars);
     106  ALLOCATE (N1, off_t, Nstars);
    105107
    106108  /* find star(s) in RA, DEC list -- use a dumb algorithm for now, improve later */
     
    157159      k = N1[i];
    158160      if (!QUIET) {
    159         gprint (GP_LOG, "star: %d\n", k);
     161        gprint (GP_LOG, "star: %lld\n", (long long) k);
    160162        gprint (GP_LOG, "%11.7f ", catalog.average[k].R);
    161163        gprint (GP_LOG, "%11.7f ", catalog.average[k].D);
Note: See TracChangeset for help on using the changeset viewer.