IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 30, 2007, 9:41:07 AM (19 years ago)
Author:
Paul Price
Message:

If coordinates are NAN, format them as NAN.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/concepts/pmConceptsStandard.c

    r11372 r11431  
    211211
    212212    double coords = concept->data.F64;  // The coordinates
     213
     214    if (!isfinite(coords)) {
     215        return psMetadataItemAllocF32(concept->name, concept->comment, NAN);
     216    }
    213217
    214218    // How to interpret the coordinates
Note: See TracChangeset for help on using the changeset viewer.