IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 11120


Ignore:
Timestamp:
Jan 17, 2007, 3:39:25 PM (19 years ago)
Author:
eugene
Message:

fixed get_double_variable api

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/dvo/fitcolors.c

    r9275 r11120  
    256256      if (outcmd != NULL) free (outcmd);
    257257     
    258       C0 = get_double_variable ("C0");
    259       C1 = get_double_variable ("C1");
     258      C0 = get_double_variable ("C0", &status);
     259      C1 = get_double_variable ("C1", &status);
    260260     
    261261      /* do something useful with the results (stored in Cn, C0, C1, etc) */
    262262      gprint (GP_LOG, "%s - %s : ", code[0][0].name, code[1][0].name);
    263263      gprint (GP_LOG, "%7.4f %7.4f   %7.4f   ",
    264                C0, C1, get_double_variable ("dC"));
     264               C0, C1, get_double_variable ("dC", &status));
    265265      gprint (GP_LOG, "%5s of %5d\n", get_variable ("Cnv"), Npts);
    266266      out[NP1 + NP2*NP] = C1;
Note: See TracChangeset for help on using the changeset viewer.