IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 24, 2006, 1:58:13 PM (20 years ago)
Author:
Paul Price
Message:

Changed definition of psArrayAlloc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psastro/src/psastroRefstarSubset.c

    r9649 r9732  
    3232    return NULL;
    3333  }
    34  
     34
    3535  // XXXX test
    3636  // psFree (rawfunc);
     
    3838  // return true;
    3939
    40   // what is the offset between the two lines at the average magnitude? 
     40  // what is the offset between the two lines at the average magnitude?
    4141  double mRef = 0.5*(reffunc->mMin + reffunc->mMax);
    4242  double logRho = mRef * reffunc->slope + reffunc->offset;
     
    4848  psLogMsg ("psastro", 4, "clipping stars fainter than %f\n", mRefMax);
    4949
    50   psArray *subset = psArrayAlloc (100);
     50  psArray *subset = psArrayAllocEmpty (100);
    5151  for (int i = 0; i < refstars->n; i++) {
    5252    pmAstromObj *ref = refstars->data[i];
Note: See TracChangeset for help on using the changeset viewer.