IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 16, 2015, 8:21:43 AM (11 years ago)
Author:
eugene
Message:

update the loadXXX programs to replace Stars with Catalogs (some tests would be good!)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20150625/Ohana/src/addstar/src/loadsupercos_ops.c

    r37036 r38594  
    7979}
    8080
    81 int loadsupercos_sortStars (Stars *tstars, int Ntstars) {
    82 
    83 # define SWAPFUNC(A,B){ Stars temp = tstars[A]; tstars[A] = tstars[B]; tstars[B] = temp; }
    84 # define COMPARE(A,B)(tstars[A].average.R < tstars[B].average.R)
    85 
    86   OHANA_SORT (Ntstars, COMPARE, SWAPFUNC);
    87 
    88 # undef SWAPFUNC
    89 # undef COMPARE
    90  
    91   return TRUE;
    92 }
    93 
    9481int *loadsupercos_image_index (Image *image, int Nimage) {
    9582
Note: See TracChangeset for help on using the changeset viewer.