Changeset 15562 for trunk/psphot/src/psphotRadialProfile.c
- Timestamp:
- Nov 9, 2007, 3:09:20 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotRadialProfile.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotRadialProfile.c
r15357 r15562 5 5 // allocate pmSourceExtendedParameters, if not already defined 6 6 if (!source->extpars) { 7 source->extpars = pmSourceExtendedPar ametersAlloc ();7 source->extpars = pmSourceExtendedParsAlloc (); 8 8 } 9 9 10 10 if (!source->extpars->profile) { 11 source->extpars->profile = pmSourceRadialProfile ();11 source->extpars->profile = pmSourceRadialProfileAlloc (); 12 12 } 13 13 … … 19 19 psVector *radius = source->extpars->profile->radius; 20 20 psVector *flux = source->extpars->profile->flux; 21 psVector *weight = source->extpars->profile-> radius;21 psVector *weight = source->extpars->profile->weight; 22 22 23 23 // XXX use the extended source model here for Xo, Yo? … … 40 40 flux->n = n; 41 41 42 SortVectorsByRadius (radius, flux, weight); 42 // XXX need to sort here 43 // SortVectorsByRadius (radius, flux, weight); 43 44 44 45 return true;
Note:
See TracChangeset
for help on using the changeset viewer.
