IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 11, 2005, 7:28:01 AM (21 years ago)
Author:
eugene
Message:

update

File:
1 edited

Legend:

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

    r5360 r5505  
    1414    // how many lines in the header?
    1515    // XXX EAM : is this calculation robust?
    16     nLines = header->list->n;
     16    nLines = myHeader->list->n;
    1717    nBytes = nLines * 80;
    1818    if (nBytes % 2880) {
     
    3939        sscanf (line, "%lf %lf %lf %lf", &X, &Y, &Mag, &dMag);
    4040       
    41         pmAstromObj *obj = pmAstromObjAlloc (X, Y, Mag, dMag);
     41        pmAstromObj *obj = pmAstromObjAlloc ();
     42        obj->pix.X    = X;
     43        obj->pix.Y    = Y;
     44        obj->pix.Mag  = Mag;
     45        obj->pix.dMag = dMag;
    4246        psArrayAdd (stars, obj, 100);
    4347    }
Note: See TracChangeset for help on using the changeset viewer.