Changeset 27096 for trunk/pswarp/src/pswarpTransformReadout.c
- Timestamp:
- Feb 25, 2010, 4:26:50 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/pswarp/src/pswarpTransformReadout.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pswarp/src/pswarpTransformReadout.c
r26896 r27096 89 89 90 90 if (!pmReadoutMaskNonfinite(input, pmConfigMaskGet("SAT", config))) { 91 psError( PS_ERR_UNKNOWN, false, "Unable to mask non-finite pixels in input.");91 psError(psErrorCodeLast(), false, "Unable to mask non-finite pixels in input."); 92 92 return false; 93 93 } … … 129 129 psArrayAdd(job->args, 1, args); 130 130 if (!psThreadJobAddPending(job)) { 131 psError( PS_ERR_UNKNOWN, false, "Unable to warp image.");131 psError(psErrorCodeLast(), false, "Unable to warp image."); 132 132 return false; 133 133 } … … 140 140 // wait here for the threaded jobs to finish 141 141 if (!psThreadPoolWait (false)) { 142 psError( PS_ERR_UNKNOWN, false, "Unable to interpolate image.");142 psError(psErrorCodeLast(), false, "Unable to interpolate image."); 143 143 return false; 144 144 } … … 185 185 if (goodPixels > 0) { 186 186 if (!pswarpTransformSources(output, input, config)) { 187 psError( PS_ERR_UNKNOWN, false, "Unable to interpolate image.");187 psError(psErrorCodeLast(), false, "Unable to interpolate image."); 188 188 return false; 189 189 }
Note:
See TracChangeset
for help on using the changeset viewer.
