IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 34708 for trunk


Ignore:
Timestamp:
Nov 27, 2012, 11:34:40 AM (14 years ago)
Author:
bills
Message:

when loading vector don't go past the end of the logR vector

File:
1 edited

Legend:

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

    r34540 r34708  
    498498    psStatsInit (fluxStats);
    499499
    500     while (logR->data.F32[bin] < lRmax) {
     500    while (bin < logR->n && logR->data.F32[bin] < lRmax) {
    501501      if (isfinite(flux->data.F32[bin])) {
    502502          psVectorAppend (fluxVals, flux->data.F32[bin]);
Note: See TracChangeset for help on using the changeset viewer.