IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 10


Ignore:
Timestamp:
Dec 10, 2002, 9:36:45 AM (23 years ago)
Author:
eugene
Message:

fixed error in filter logic

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/imregister/detrend/imdef.c

    r6 r10  
    9191
    9292  /* select the filter */
    93   if (descriptor[0].type != T_DARK) goto skip_filter;
    94   if (descriptor[0].type != T_BIAS) goto skip_filter;
    95   if (descriptor[0].type != T_MASK) goto skip_filter;
    96   if (descriptor[0].filter == FILTER_NONE) goto skip_filter;
     93  if (descriptor[0].type == T_DARK) goto skip_filter;
     94  if (descriptor[0].type == T_BIAS) goto skip_filter;
     95  if (descriptor[0].type == T_MASK) goto skip_filter;
     96  if (descriptor[0].filter != FILTER_NONE) goto skip_filter;
    9797  if (!fits_scan (&header, FilterKeyword, "%s", 1, line)) {
    9898    fprintf (stderr, "ERROR: failure to read %s from header\n", FilterKeyword);
Note: See TracChangeset for help on using the changeset viewer.