IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 7741


Ignore:
Timestamp:
Jun 28, 2006, 2:30:36 PM (20 years ago)
Author:
Paul Price
Message:

Fixing error: weight map may not be present.

File:
1 edited

Legend:

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

    r7740 r7741  
    55 *  @author GLG, MHPCC
    66 *
    7  *  @version $Revision: 1.17 $ $Name: not supported by cvs2svn $
    8  *  @date $Date: 2006-06-29 00:27:51 $
     7 *  @version $Revision: 1.18 $ $Name: not supported by cvs2svn $
     8 *  @date $Date: 2006-06-29 00:30:36 $
    99 *
    1010 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    283283    psF32 **outputImage  = output->image->data.F32; // Output image
    284284    psU8  **outputMask   = output->mask->data.U8; // Output mask
    285     psF32 **outputWeight = output->weight->data.F32; // Output weight map
     285    psF32 **outputWeight = NULL; // Output weight map
     286    if (output->weight) {
     287        outputWeight = output->weight->data.F32;
     288    }
    286289
    287290    for (int i = minInputRows; i < maxInputRows; i++) {
Note: See TracChangeset for help on using the changeset viewer.