IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 25, 2008, 4:51:39 PM (18 years ago)
Author:
eugene
Message:

convert opihi vectors to double type, add option for int type as well

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branch_20081124/Ohana/src/opihi/cmd.data/dimendown.c

    r7917 r20839  
    66 
    77  int i, Nx, Ny, Npix, N, mode;
    8   float *in, *out;
     8  float *in;
     9  opihi_flt *out;
    910  Vector *vec;
    1011  Buffer *buf;
     
    3031
    3132  vec[0].Nelements = Npix;
    32   REALLOCATE (vec[0].elements, float, Npix);
     33  REALLOCATE (vec[0].elements.Flt, opihi_flt, Npix);
    3334
    3435  in = (float *) buf[0].matrix.buffer;
    35   out = vec[0].elements;
     36  out = vec[0].elements.Flt;
    3637
    3738  switch (mode) {
Note: See TracChangeset for help on using the changeset viewer.