IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 2, 2004, 1:29:39 PM (22 years ago)
Author:
harman
Message:

Changed psVector to be consistent with psImage

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/dataManip/psFunctions.c

    r822 r831  
    66 *  @author George Gusciora, MHPCC
    77 *
    8  *  @version $Revision: 1.8 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2004-06-01 22:24:55 $
     8 *  @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2004-06-02 23:29:21 $
    1010 *
    1111 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    7575    int i = 0;
    7676
    77     gauss = psVectorAlloc(Npts, PS_TYPE_FLOAT);
     77    gauss = psVectorAlloc(Npts, PS_TYPE_F32);
    7878    gsl_rng_env_setup();
    7979    T = gsl_rng_default;
     
    8181
    8282    for (i = 0; i < Npts; i++) {
    83         gauss->vec.f[i] = mean + gsl_ran_gaussian(r, sigma);
     83        gauss->data.F32[i] = mean + gsl_ran_gaussian(r, sigma);
    8484    }
    8585
Note: See TracChangeset for help on using the changeset viewer.