Changeset 34052 for branches/eam_branches/ipp-20120601/psModules
- Timestamp:
- Jun 22, 2012, 6:52:56 AM (14 years ago)
- Location:
- branches/eam_branches/ipp-20120601/psModules
- Files:
-
- 9 edited
-
src/detrend/pmFringeStats.c (modified) (1 diff)
-
src/detrend/pmNonLinear.c (modified) (2 diffs)
-
src/extras/psPipe.c (modified) (1 diff)
-
src/objects/models/pmModel_PGAUSS.c (modified) (2 diffs)
-
src/objects/models/pmModel_PS1_V1.c (modified) (2 diffs)
-
src/objects/models/pmModel_QGAUSS.c (modified) (2 diffs)
-
src/objects/models/pmModel_RGAUSS.c (modified) (2 diffs)
-
src/objects/pmSourceIO_CMP.c (modified) (1 diff)
-
test/tap/src/tap.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20120601/psModules/src/detrend/pmFringeStats.c
r31069 r34052 662 662 if (item->type == PS_DATA_VECTOR) { \ 663 663 ARRAY->data[i] = psMemIncrRefCounter(item->data.V); \ 664 } else if (item->type == PS_ TYPE_##TYPE) { \664 } else if (item->type == PS_DATA_##TYPE) { \ 665 665 psVector *vector = psVectorAlloc(1, PS_TYPE_##TYPE); \ 666 666 vector->data.TYPE[0] = item->data.TYPE; \ -
branches/eam_branches/ipp-20120601/psModules/src/detrend/pmNonLinear.c
r34044 r34052 329 329 330 330 bin = correction_fluxes->n - 1; 331 psTrace("psModules.nonlin",6,"NLMN: %f %d %f %f\n",flux,bin,correction_fluxes->data.F32[0],correction_fluxes->data.F32[bin]); 332 if (bin < 0) { /* warn? */ } 331 333 if (flux < correction_fluxes->data.F32[0]) { 332 334 return(0.0); … … 357 359 bin = correction_fluxes->n - 1; 358 360 psTrace("psModules.nonlin",6,"NLMN: %f %d %f %f\n",flux,bin,correction_fluxes->data.F32[0],correction_fluxes->data.F32[bin]); 361 if (bin < 0) { /* warn? */ } 359 362 if (flux < correction_fluxes->data.F32[0]) { 360 363 return(0.0); -
branches/eam_branches/ipp-20120601/psModules/src/extras/psPipe.c
r34051 r34052 105 105 106 106 status = execvp (argv[0], argv); 107 psWarning ("error running exec for child process");107 if (status < 0) { psWarning ("error running exec for child process"); } 108 108 exit (1); // this statement exits the child, not the parent, process 109 109 } -
branches/eam_branches/ipp-20120601/psModules/src/objects/models/pmModel_PGAUSS.c
r32347 r34052 261 261 { 262 262 psF64 z; 263 int Nstep = 0;264 263 psEllipseShape shape; 265 264 … … 285 284 // use the fact that f is monotonically decreasing 286 285 z = 0; 287 Nstep = 0;288 286 289 287 // choose a z value guaranteed to be beyond our limit -
branches/eam_branches/ipp-20120601/psModules/src/objects/models/pmModel_PS1_V1.c
r32347 r34052 283 283 { 284 284 psF64 z; 285 int Nstep = 0;286 285 psEllipseShape shape; 287 286 … … 308 307 // use the fact that f is monotonically decreasing 309 308 z = 0; 310 Nstep = 0;311 309 312 310 // choose a z value guaranteed to be beyond our limit -
branches/eam_branches/ipp-20120601/psModules/src/objects/models/pmModel_QGAUSS.c
r33417 r34052 284 284 { 285 285 psF64 z; 286 int Nstep = 0;287 286 psEllipseShape shape; 288 287 … … 312 311 // use the fact that f is monotonically decreasing 313 312 z = 0; 314 Nstep = 0;315 313 316 314 // choose a z value guaranteed to be beyond our limit -
branches/eam_branches/ipp-20120601/psModules/src/objects/models/pmModel_RGAUSS.c
r32347 r34052 273 273 { 274 274 psF64 z; 275 int Nstep = 0;276 275 psEllipseShape shape; 277 276 … … 296 295 // use the fact that f is monotonically decreasing 297 296 z = 0; 298 Nstep = 0;299 297 300 298 // choose a z value guaranteed to be beyond our limit -
branches/eam_branches/ipp-20120601/psModules/src/objects/pmSourceIO_CMP.c
r34044 r34052 184 184 } 185 185 186 // find config information for output header187 float ZERO_POINT = psMetadataLookupF32 (&status, header, "ZERO_PT");188 if (!status)189 ZERO_POINT = 25.0;186 // XXX unused // find config information for output header 187 // XXX unused float ZERO_POINT = psMetadataLookupF32 (&status, header, "ZERO_PT"); 188 // XXX unused if (!status) 189 // XXX unused ZERO_POINT = 25.0; 190 190 191 191 // how many lines in the header? -
branches/eam_branches/ipp-20120601/psModules/test/tap/src/tap.c
r11550 r34052 87 87 if(test_name != NULL) { 88 88 va_start(ap, test_name); 89 vasprintf(&local_test_name, test_name, ap); 89 int status = vasprintf(&local_test_name, test_name, ap); 90 if (status) {/* warning? */} 90 91 va_end(ap); 91 92 … … 303 304 304 305 va_start(ap, fmt); 305 asprintf(&skip_msg, fmt, ap); 306 int status = asprintf(&skip_msg, fmt, ap); 307 if (status) {/* warning? */} 306 308 va_end(ap); 307 309 … … 328 330 329 331 va_start(ap, fmt); 330 vasprintf(&todo_msg, fmt, ap); 332 int status = vasprintf(&todo_msg, fmt, ap); 333 if (status) {/* warning? */} 331 334 va_end(ap); 332 335
Note:
See TracChangeset
for help on using the changeset viewer.
