IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 18187


Ignore:
Timestamp:
Jun 18, 2008, 4:28:52 PM (18 years ago)
Author:
Paul Price
Message:

Must have F64 on the brain or something....

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pswarp/src/pswarpLoop.c

    r18186 r18187  
    262262
    263263        psMetadataItem *vfItem = psMetadataLookup(outCell->concepts, "CELL.VARFACTOR"); // Item to update
    264         psAssert(vfItem && vfItem->type == PS_TYPE_F64, "Concept should be as specified.");
    265         if (!isfinite(vfItem->data.F64)) {
    266             vfItem->data.F64 = varFactor;
     264        psAssert(vfItem && vfItem->type == PS_TYPE_F32, "Concept should be as specified.");
     265        if (!isfinite(vfItem->data.F32)) {
     266            vfItem->data.F32 = varFactor;
    267267        } else {
    268             vfItem->data.F64 *= varFactor;
     268            vfItem->data.F32 *= varFactor;
    269269        }
    270270    }
Note: See TracChangeset for help on using the changeset viewer.