IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 17, 2007, 11:53:28 AM (19 years ago)
Author:
Paul Price
Message:

Adding const to view.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphotSkyReplace.c

    r12792 r13411  
    33// XXX make this an option?
    44// in order to  successfully replace the sky, we must define a corresponding file...
    5 bool psphotSkyReplace (pmConfig *config, pmFPAview *view) {
     5bool psphotSkyReplace (pmConfig *config, const pmFPAview *view) {
    66
    77    psTimerStart ("psphot");
     
    2222    // replace the background model
    2323    for (int j = 0; j < readout->image->numRows; j++) {
    24         for (int i = 0; i < readout->image->numCols; i++) {
    25             if (!mask[j][i]) {
    26                 image[j][i] += back[j][i];
    27             }
    28         }
     24        for (int i = 0; i < readout->image->numCols; i++) {
     25            if (!mask[j][i]) {
     26                image[j][i] += back[j][i];
     27            }
     28        }
    2929    }
    3030    psLogMsg ("psphot.sky", PS_LOG_DETAIL, "replace background flux : %f sec\n", psTimerMark ("psphot"));
Note: See TracChangeset for help on using the changeset viewer.