IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 30, 2008, 7:45:21 AM (18 years ago)
Author:
eugene
Message:

modify functions to use both int and flt vectors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branch_20081124/Ohana/src/opihi/lib.shell/parse.c

    r20856 r20857  
    191191      if (Nx < 0) Nx += vec[0].Nelements;
    192192      if (vec[0].type == OPIHI_FLT) {
    193           vec[0].elements.Flt[Nx] = atof (val);
     193        vec[0].elements.Flt[Nx] = atof (val);
    194194      } else {
    195           vec[0].elements.Int[Nx] = atol (val);
     195        vec[0].elements.Int[Nx] = atol (val);
    196196      }
    197197    }
Note: See TracChangeset for help on using the changeset viewer.