IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 7, 2005, 10:00:34 AM (22 years ago)
Author:
gusciora
Message:

Fixed a few error conditions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/pmSubtractSky.c

    r2916 r2928  
    66 *  @author GLG, MHPCC
    77 *
    8  *  @version $Revision: 1.17 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2005-01-05 23:43:58 $
     8 *  @version $Revision: 1.18 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2005-01-07 20:00:34 $
    1010 *
    1111 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2929    psS32 numBits = 0;
    3030
    31     for (i=0;i<4 * sizeof(psStatsOptions);i++) {
     31    for (i=0;i<8 * sizeof(psStatsOptions);i++) {
    3232        if (0x0001 & tmpData) {
    3333            numBits++;
     
    439439    psStatsOptions statOptions = 0;
    440440
     441    //
    441442    // Return the original input readout if the fit specs are poorly defined.
     443    // No warning or error messages should be generated.
     444    //
    442445    if ((fitSpec == NULL) ||
    443446            ((fit == PM_FIT_NONE) || (fit == PM_FIT_SPLINE))) {
    444         psLogMsg(__func__, PS_LOG_WARN, "Fit specs are poorly defined.  Returning in image.\n");
     447        //        psLogMsg(__func__, PS_LOG_WARN, "Fit specs are poorly defined.  Returning in image.\n");
    445448        return(in);
    446449    }
Note: See TracChangeset for help on using the changeset viewer.