- Timestamp:
- Nov 25, 2008, 4:51:39 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branch_20081124/Ohana/src/opihi/dvo/mextract.c
r20820 r20839 139 139 if (!dbBooleanCond (stack, Nstack, values)) continue; 140 140 for (n = 0; n < Nreturn; n++) { 141 vec[n][0].elements [Npts] = values[n];141 vec[n][0].elements.Flt[Npts] = values[n]; 142 142 // fprintf (stderr, "keep : field: %s, value: %f\n", fields[n].name, values[n]); 143 143 } … … 146 146 NPTS += 2000; 147 147 for (n = 0; n < Nreturn; n++) { 148 REALLOCATE (vec[n][0].elements , float, NPTS);148 REALLOCATE (vec[n][0].elements.Flt, opihi_flt, NPTS); 149 149 } 150 150 } … … 162 162 for (n = 0; n < Nreturn; n++) { 163 163 vec[n][0].Nelements = Npts; 164 REALLOCATE (vec[n][0].elements , float, MAX(1,Npts));164 REALLOCATE (vec[n][0].elements.Flt, opihi_flt, MAX(1,Npts)); 165 165 } 166 166
Note:
See TracChangeset
for help on using the changeset viewer.
