IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 17493


Ignore:
Timestamp:
Apr 30, 2008, 1:32:06 AM (18 years ago)
Author:
Paul Price
Message:

Fix logical error in image size checking.

File:
1 edited

Legend:

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

    r17394 r17493  
    44 *  @author GLG, MHPCC
    55 *
    6  *  @version $Revision: 1.88 $ $Name: not supported by cvs2svn $
    7  *  @date $Date: 2008-04-08 18:32:52 $
     6 *  @version $Revision: 1.89 $ $Name: not supported by cvs2svn $
     7 *  @date $Date: 2008-04-30 11:32:06 $
    88 *
    99 *  Copyright 2004-2007 Institute for Astronomy, University of Hawaii
     
    653653        PM_ASSERT_READOUT_IMAGE(ro2, false);
    654654        if (numCols != 0 && numRows != 0) {
    655             numCols = ro1->image->numCols;
    656             numRows = ro1->image->numRows;
    657             x0 = ro1->col0;
    658             y0 = ro1->row0;
     655            numCols = ro2->image->numCols;
     656            numRows = ro2->image->numRows;
     657            x0 = ro2->col0;
     658            y0 = ro2->row0;
    659659        }
    660660    }
Note: See TracChangeset for help on using the changeset viewer.