- Timestamp:
- Jun 1, 2024, 3:19:28 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20230313/Ohana/src/opihi/cmd.data/vgroup.c
r33963 r42685 70 70 ALLOCATE (values, double, xin[0].Nelements); 71 71 72 for (i = 0; i < xout[0].Nelements - 1; i++) { 72 // if we specify binsize, then we need to examine all bins 73 int Nout = isnan(binsize) ? xout[0].Nelements - 1 : xout[0].Nelements; 74 for (i = 0; i < Nout; i++) { 73 75 if (isnan(binsize)) { 74 76 xmin = xout[0].elements.Flt[i]; … … 81 83 N = 0; 82 84 for (j = 0; j < xin[0].Nelements; j++) { 83 if (xin[0].elements.Flt[j] < xmin) continue;84 if (xin[0].elements.Flt[j] > xmax) continue;85 if (xin[0].elements.Flt[j] < xmin) continue; 86 if (xin[0].elements.Flt[j] >= xmax) continue; 85 87 if (yin) { 86 88 values[N] = yin[0].elements.Flt[j];
Note:
See TracChangeset
for help on using the changeset viewer.
