Changeset 2275 for trunk/psModules/src/pmSubtractBias.c
- Timestamp:
- Nov 3, 2004, 4:02:10 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/pmSubtractBias.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/pmSubtractBias.c
r2148 r2275 6 6 * @author George Gusciora, MHPCC 7 7 * 8 * @version $Revision: 1.1 6$ $Name: not supported by cvs2svn $9 * @date $Date: 2004-1 0-15 02:20:39$8 * @version $Revision: 1.17 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2004-11-04 02:02:10 $ 10 10 * 11 11 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 38 38 39 39 if (((in->image)->numRows + in->row0 - bias->row0) > (bias->image)->numRows) { 40 psError( __func__, "bias image does not have enough rows\n");40 psError(PS_ERR_UNKNOWN,true, "bias image does not have enough rows\n"); 41 41 } 42 42 if (((in->image)->numCols + in->row0 - bias->row0) > (bias->image)->numCols) { 43 psError( __func__, "bias image does not have enough columns\n");43 psError(PS_ERR_UNKNOWN,true, "bias image does not have enough columns\n"); 44 44 } 45 45 … … 130 130 131 131 if (numOptions == 0) { 132 psError( __func__, "No statistics options have been specified\n");132 psError(PS_ERR_UNKNOWN,true, "No statistics options have been specified\n"); 133 133 } 134 134 if (numOptions != 1) { … … 189 189 } 190 190 } else { 191 psError( __func__, "unknown fit type\n");191 psError(PS_ERR_UNKNOWN,true, "unknown fit type\n"); 192 192 } 193 193 … … 219 219 int nBin; 220 220 221 PS_ CHECK_NULL_PTR_RETURN_NULL(in);221 PS_PTR_CHECK_NULL(in,NULL); 222 222 223 223 // … … 229 229 230 230 if ((overscans == NULL) && (overScanAxis != PM_OVERSCAN_NONE)) { 231 psError( __func__, "(overscans == NULL) && (overScanAxis != PM_OVERSCAN_NONE)\n");231 psError(PS_ERR_UNKNOWN,true, "(overscans == NULL) && (overScanAxis != PM_OVERSCAN_NONE)\n"); 232 232 return(in); 233 233 }
Note:
See TracChangeset
for help on using the changeset viewer.
