Changeset 20936 for trunk/Ohana/src/opihi/mana/fitcontour.c
- Timestamp:
- Dec 7, 2008, 3:31:01 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/mana/fitcontour.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/mana/fitcontour.c
r16059 r20936 18 18 yo = atof (argv[4]); 19 19 20 // require these to be float vectors 21 REQUIRE_VECTOR_FLT (vecx, FALSE); 22 REQUIRE_VECTOR_FLT (vecy, FALSE); 23 20 24 ALLOCATE (B, double *, NTERM); 21 25 ALLOCATE (C, double *, NTERM); … … 32 36 */ 33 37 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; 36 40 r = hypot (x, y); 37 41
Note:
See TracChangeset
for help on using the changeset viewer.
