IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 7, 2008, 3:31:01 PM (18 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/mana/fitcontour.c

    r16059 r20936  
    1818  yo = atof (argv[4]);
    1919
     20  // require these to be float vectors
     21  REQUIRE_VECTOR_FLT (vecx, FALSE);
     22  REQUIRE_VECTOR_FLT (vecy, FALSE);
     23
    2024  ALLOCATE (B, double *, NTERM);
    2125  ALLOCATE (C, double *, NTERM);
     
    3236  */
    3337  for (i = 0; i < vecx[0].Nelements; i++) {
    34     x = vecx[0].elements[i] - xo;
    35     y = vecy[0].elements[i] - yo;
     38    x = vecx[0].elements.Flt[i] - xo;
     39    y = vecy[0].elements.Flt[i] - yo;
    3640    r = hypot (x, y);
    3741
Note: See TracChangeset for help on using the changeset viewer.