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

    r12332 r20839  
    2828
    2929  vec[0].Nelements = (end - start) / delta;
    30   REALLOCATE (vec[0].elements, float, vec[0].Nelements);
     30  REALLOCATE (vec[0].elements.Flt, opihi_flt, vec[0].Nelements);
    3131
    3232  for (i = 0; i < vec[0].Nelements; i++) {
    33     vec[0].elements[i] = start + i*delta;
     33    vec[0].elements.Flt[i] = start + i*delta;
    3434  }
    3535
Note: See TracChangeset for help on using the changeset viewer.