IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 14841


Ignore:
Timestamp:
Sep 14, 2007, 3:14:18 PM (19 years ago)
Author:
Paul Price
Message:

Fixing order so that protection comes before the potential SEGV.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/imcombine/pmSubtractionStamps.c

    r14838 r14841  
    311311            float jx, jy;                   // Coordinates for star j
    312312            for (int j = i + 1, jIndex = indexes->data.S32[j];
    313                  (jx = x->data.F32[jIndex]) < ix + exclusionZone && j < numStars;
     313                 j < numStars && (jx = x->data.F32[jIndex]) < ix + exclusionZone;
    314314                 j++, jIndex = indexes->data.S32[j]) {
    315315                jy = y->data.F32[jIndex];
Note: See TracChangeset for help on using the changeset viewer.