IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 29353


Ignore:
Timestamp:
Oct 7, 2010, 8:28:54 PM (16 years ago)
Author:
eugene
Message:

overloaded variable name

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20100823/psModules/src/objects/pmSourcePhotometry.c

    r29312 r29353  
    461461            }
    462462
    463             float flux = flux->data.F32[iy][ix];
    464 
    465             if (flux > 0.0) {
     463            float value = flux->data.F32[iy][ix];
     464
     465            if (value > 0.0) {
    466466                nGood ++;
    467                 fGood += fabs(flux);
     467                fGood += fabs(value);
    468468            } else {
    469469                nBad ++;
    470                 fBad += fabs(flux-);
     470                fBad += fabs(value);
    471471            }
    472472        }
Note: See TracChangeset for help on using the changeset viewer.