IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 24, 2004, 12:22:38 PM (22 years ago)
Author:
gusciora
Message:

Added error checking for covar.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/dataManip/psConstants.h

    r2342 r2438  
    66 *  @author GLG, MHPCC
    77 *
    8  *  @version $Revision: 1.39 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2004-11-12 19:36:07 $
     8 *  @version $Revision: 1.40 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2004-11-24 22:22:38 $
    1010 *
    1111 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    395395}
    396396
     397#define PS_IMAGE_CHECK_SIZE_(NAME1, NUM_COLS, NUM_ROWS, RVAL) \
     398if ((NAME1->numCols != NUM_COLS) || \
     399        (NAME1->numRows != NUM_ROWS)) { \
     400    psError(PS_ERR_BAD_PARAMETER_SIZE, true, \
     401            "Unallowable operation: psImages %s is not the correct size.", \
     402            #NAME1); \
     403    return(RVAL); \
     404}
     405
    397406
    398407
Note: See TracChangeset for help on using the changeset viewer.