Changeset 18187
- Timestamp:
- Jun 18, 2008, 4:28:52 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/pswarp/src/pswarpLoop.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pswarp/src/pswarpLoop.c
r18186 r18187 262 262 263 263 psMetadataItem *vfItem = psMetadataLookup(outCell->concepts, "CELL.VARFACTOR"); // Item to update 264 psAssert(vfItem && vfItem->type == PS_TYPE_F 64, "Concept should be as specified.");265 if (!isfinite(vfItem->data.F 64)) {266 vfItem->data.F 64= 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; 267 267 } else { 268 vfItem->data.F 64*= varFactor;268 vfItem->data.F32 *= varFactor; 269 269 } 270 270 }
Note:
See TracChangeset
for help on using the changeset viewer.
