IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 7, 2008, 3:31:01 PM (17 years ago)
Author:
eugene
Message:

big update from eam_branch_20081124 with updates to Opihi math

File:
1 edited

Legend:

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

    r16059 r20936  
    190190      }
    191191      if (Nx < 0) Nx += vec[0].Nelements;
    192       vec[0].elements[Nx] = atof (val);
     192      if (vec[0].type == OPIHI_FLT) {
     193        vec[0].elements.Flt[Nx] = atof (val);
     194      } else {
     195        vec[0].elements.Int[Nx] = atol (val);
     196      }
    193197    }
    194198
Note: See TracChangeset for help on using the changeset viewer.