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/mset.c

    r7917 r20839  
    44 
    55  int i, Nx, Ny, Npix, xdir, Nset;
    6   float *in, *out;
     6  opihi_flt *in;
     7  float *out;
    78  Buffer *buf;
    89  Vector *vec;
     
    4243    }
    4344    out = (float *) buf[0].matrix.buffer + Nx*Nset;
    44     in = vec[0].elements;
     45    in = vec[0].elements.Flt;
    4546    for (i = 0; i < Npix; i++, in++, out++) {
    4647      *out = *in;
     
    5758    }
    5859    out = (float *) buf[0].matrix.buffer + Nset;
    59     in = vec[0].elements;
     60    in = vec[0].elements.Flt;
    6061    for (i = 0; i < Npix; i++, in++, out+=Nx) {
    6162      *out = *in;
Note: See TracChangeset for help on using the changeset viewer.