Changeset 27117
- Timestamp:
- Feb 27, 2010, 1:06:53 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/pstamp/src/ppstampMakeStamp.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pstamp/src/ppstampMakeStamp.c
r25817 r27117 394 394 double dy = 0.5 * options->roip.dDEC / fpa->toSky->Ys; 395 395 396 if (dx > 5000) { 397 fprintf(stderr, "requested width %f too large reducing to 5000\n", dx); 398 dx = 5000; 399 } 400 if (dy > 5000) { 401 fprintf(stderr, "requested height %f too large reducing to 5000\n", dy); 402 dy = 5000; 403 } 404 396 405 pt->TP->xErr = 0; 397 406 pt->TP->yErr = 0; … … 497 506 int width = options->roip.dX; 498 507 int height = options->roip.dY; 508 if (width > 5000) { 509 fprintf(stderr, "requested width %d too large reducing to 5000\n", width); 510 width = 5000; 511 } 512 if (height > 5000) { 513 fprintf(stderr, "requested height %d too large reducing to 5000\n", height); 514 height = 5000; 515 } 499 516 500 517 // calculate the ROI in chip coordinates
Note:
See TracChangeset
for help on using the changeset viewer.
