IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 21, 2006, 10:41:10 AM (20 years ago)
Author:
magnier
Message:

fixed missing vector length assignments

File:
1 edited

Legend:

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

    r6874 r6936  
    77 *  @author Robert DeSonia, MHPCC
    88 *
    9  *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2006-04-17 22:00:03 $
     9 *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2006-04-21 20:41:10 $
    1111 *
    1212 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    544544    if (nAxis == 2) {
    545545        psArray *images = psArrayAlloc(1); // Single image plane
     546        images->n = 1;
    546547        images->data[0] = psFitsReadImage(fits, region, 0);
    547548        return images;
     
    557558
    558559        psArray *images = psArrayAlloc(nAxes[2]); // Array of image planes
     560        images->n = nAxes[2];
    559561        for (int i = 0; i < nAxes[2]; i++) {
    560562            images->data[i] = psFitsReadImage(fits, region, i);
Note: See TracChangeset for help on using the changeset viewer.