- Timestamp:
- Nov 30, 2008, 11:13:15 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branch_20081124/Ohana/src/opihi/mana/rawstars.c
r20856 r20859 66 66 v = (float *) buff[0].matrix.buffer; 67 67 for (i = 0; i < Np; i++) { 68 x = xp[0].elements.Flt[i];69 y = yp[0].elements.Flt[i];68 x = (xp[0].type == OPIHI_FLT) ? xp[0].elements.Flt[i] : xp[0].elements.Int[i]; 69 y = (yp[0].type == OPIHI_FLT) ? yp[0].elements.Flt[i] : yp[0].elements.Int[i]; 70 70 if (x < 0) continue; 71 71 if (x >= Nx) continue;
Note:
See TracChangeset
for help on using the changeset viewer.
