Changeset 25265
- Timestamp:
- Sep 3, 2009, 11:58:39 AM (17 years ago)
- File:
-
- 1 edited
-
branches/pap/psphot/src/psphotFake.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/pap/psphot/src/psphotFake.c
r25263 r25265 195 195 196 196 int numBins = magOffsets->n; // Number of bins 197 psVector *frac = psVectorAlloc(numBins, PS_TYPE_ S32); // Fraction of sources in each bin197 psVector *frac = psVectorAlloc(numBins, PS_TYPE_F32); // Fraction of sources in each bin 198 198 for (int i = 0; i < numBins; i++) { 199 199 int numFound = 0; // Number found … … 205 205 } 206 206 } 207 frac->data. S32[i] = (float)numFound / (float)numSources;207 frac->data.F32[i] = (float)numFound / (float)numSources; 208 208 } 209 209
Note:
See TracChangeset
for help on using the changeset viewer.
