IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 19, 2008, 10:30:13 AM (18 years ago)
Author:
Paul Price
Message:

A zero-length string for normConcept means that it's not defined (the
value is always written to the header, and psFitsReadHeader returns ""
when the value isn't set).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/detrend/pmDark.c

    r17027 r17054  
    337337    }
    338338    float norm = NAN;                   // Normalisation value
    339     if (normConcept) {
     339    if (normConcept && strlen(normConcept) > 0) {
    340340        if (!ordinateLookup(&norm, normConcept, false, NAN, NAN, readout)) {
    341341            psError(PS_ERR_UNKNOWN, true, "Unable to find value for %s", normConcept);
Note: See TracChangeset for help on using the changeset viewer.