Changeset 9734 for trunk/psphot/src/psphotEnsemblePSF.c
- Timestamp:
- Oct 24, 2006, 2:07:03 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotEnsemblePSF.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotEnsemblePSF.c
r9595 r9734 27 27 28 28 // pre-calculate all model pixels 29 psArray *models = psArrayAlloc (sources->n);30 psVector *index = psVectorAlloc (sources->n, PS_TYPE_U32);29 psArray *models = psArrayAllocEmpty (sources->n); 30 psVector *index = psVectorAllocEmpty (sources->n, PS_TYPE_U32); 31 31 // DROP models->n = index->n = 0; 32 32 … … 141 141 psSparse *sparse = psSparseAlloc (models->n, 100); 142 142 psVector *weight = psVectorAlloc (models->n, PS_TYPE_F32); 143 weight->n = models->n;144 143 145 144 for (int i = 0; i < models->n; i++) {
Note:
See TracChangeset
for help on using the changeset viewer.
