IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 22, 2005, 11:52:49 AM (21 years ago)
Author:
desonia
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/fft/psVectorFFT.c

    r3264 r3476  
    55 *  @author Robert DeSonia, MHPCC
    66 *
    7  *  @version $Revision: 1.30 $ $Name: not supported by cvs2svn $
    8  *  @date $Date: 2005-02-17 19:26:23 $
     7 *  @version $Revision: 1.31 $ $Name: not supported by cvs2svn $
     8 *  @date $Date: 2005-03-22 21:52:49 $
    99 *
    1010 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    8787        }
    8888        out->type.type = PS_TYPE_F32;
    89         out->data.V = psRealloc(out->data.V,PSELEMTYPE_SIZEOF(PS_TYPE_F32)*out->nalloc);
     89        out->data.U8 = psRealloc(out->data.U8,PSELEMTYPE_SIZEOF(PS_TYPE_F32)*out->nalloc);
    9090    }
    9191
     
    113113        out = psVectorRecycle(out, numElements, type);
    114114        out->n = numElements;
    115         memcpy(out->data.V, in->data.V, numElements * PSELEMTYPE_SIZEOF(type));
     115        memcpy(out->data.U8, in->data.U8, numElements * PSELEMTYPE_SIZEOF(type));
    116116        return out;
    117117    }
     
    172172        out = psVectorRecycle(out, numElements, type);
    173173        out->n = numElements;
    174         memset(out->data.V, 0, PSELEMTYPE_SIZEOF(type) * numElements);
     174        memset(out->data.U8, 0, PSELEMTYPE_SIZEOF(type) * numElements);
    175175        return out;
    176176    }
     
    298298        out = psVectorRecycle(out, numElements, type);
    299299        out->n = numElements;
    300         memcpy(out->data.V, in->data.V, PSELEMTYPE_SIZEOF(type) * numElements);
     300        memcpy(out->data.U8, in->data.U8, PSELEMTYPE_SIZEOF(type) * numElements);
    301301        return out;
    302302    }
Note: See TracChangeset for help on using the changeset viewer.