IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 13, 2005, 2:37:39 PM (21 years ago)
Author:
eugene
Message:

changed load_catalog to take the mode from the catalog structure rather than as an argument

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/relphot/src/gcatalog.c

    r5014 r5320  
    66
    77  if (FINAL) {
    8     mode = LOAD_AVES | LOAD_MEAS | LOAD_MISS | LOAD_SECF;
     8    catalog[0].catflags = LOAD_AVES | LOAD_MEAS | LOAD_MISS | LOAD_SECF;
    99  } else {
    10     mode = LOAD_AVES | LOAD_MEAS | LOAD_SECF;
     10    catalog[0].catflags = LOAD_AVES | LOAD_MEAS | LOAD_SECF;
    1111  }   
    1212
    1313  /* CATMODE and CATFORMAT determined from catalog */
    1414
    15   if (!load_catalog (catalog, mode, VERBOSE)) {
     15  if (!load_catalog (catalog, VERBOSE)) {
    1616    fprintf (stderr, "ERROR: failure loading catalog %s\n", catalog[0].filename);
    1717    exit (1);
Note: See TracChangeset for help on using the changeset viewer.