IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 2, 2021, 2:14:14 PM (5 years ago)
Author:
eugene
Message:

remove extensive memory corruption tests which were caused by the glibc / kernel malloc problem

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/fits/psFitsScale.c

    r41505 r41521  
    131131    psStats *stats = psStatsAlloc(MEAN_STAT | STDEV_STAT); // Statistics object
    132132    double mean, stdev;                                    // Mean and standard deviation
     133
    133134    if (!psImageBackground(stats, NULL, image, mask, maskVal, rng)) {
    134135        // It could be because the image is entirely masked, in which case we don't want to error
     
    919920      case PS_FITS_SCALE_STDEV_NEGATIVE:
    920921      case PS_FITS_SCALE_STDEV_BOTH:
    921         if (!scaleStdev(bscale, bzero, image, mask, maskVal, options)) {
     922        if (!scaleStdev(bscale, bzero, image, mask, maskVal, options)) {
    922923            psError(PS_ERR_UNKNOWN, false, "Unable to set BSCALE and BZERO from stdev");
    923924            return false;
    924         }
     925        }
    925926        break;
    926927      case PS_FITS_SCALE_LOG_RANGE:
Note: See TracChangeset for help on using the changeset viewer.