IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 12, 2007, 5:08:17 PM (19 years ago)
Author:
Paul Price
Message:

Fixing compilation problems following change to histogram API.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/imageops/psImageStats.c

    r11759 r11760  
    99 *  @author GLG, MHPCC
    1010 *
    11  *  @version $Revision: 1.104 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2007-02-13 03:01:23 $
     11 *  @version $Revision: 1.105 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2007-02-13 03:08:17 $
    1313 *
    1414 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    183183    }
    184184
    185     out = psVectorHistogram(out, junkData, NULL, junkMask, maskVal);
     185    if (!psVectorHistogram(out, junkData, NULL, junkMask, maskVal)) {
     186        psError(PS_ERR_UNKNOWN, false, "Unable to generate image histogram.\n");
     187        psFree(junkMask);
     188        psFree(junkData);
     189        return false;
     190    }
    186191
    187192    psFree(junkMask);
Note: See TracChangeset for help on using the changeset viewer.