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/lib.shell/check_stack.c

    r6250 r20839  
    1212
    1313      /** if this is a number, put it on the list of scalers and move on **/
    14       stack[i].Float = strtod (stack[i].name, &c);
     14      // XXX need to handle IntValue vs FltValue
     15      stack[i].FltValue = strtod (stack[i].name, &c);
    1516      if (c == stack[i].name + strlen (stack[i].name)) {
    16         stack[i].ptr   = &(stack[i].Float);
    1717        stack[i].type  = 'S';
    1818        continue;
     
    2222      if (IsBuffer (stack[i].name)) {
    2323        stack[i].buffer = SelectBuffer (stack[i].name, OLDBUFFER, TRUE);
    24         stack[i].ptr    = (float *) stack[i].buffer[0].matrix.buffer;
    2524        stack[i].type   = 'M';
    2625        if (Nx == -1) {
     
    4443      if (IsVector (stack[i].name)) {
    4544        stack[i].vector = SelectVector (stack[i].name, OLDVECTOR, FALSE);
    46         stack[i].ptr    = (float *) stack[i].vector[0].elements;
    4745        stack[i].type   = 'V';
    4846
Note: See TracChangeset for help on using the changeset viewer.