IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 9, 2007, 3:09:20 PM (19 years ago)
Author:
eugene
Message:

updating all changes from from eam_branch_20071023

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphotRadialProfile.c

    r15357 r15562  
    55    // allocate pmSourceExtendedParameters, if not already defined
    66    if (!source->extpars) {
    7         source->extpars = pmSourceExtendedParametersAlloc ();
     7        source->extpars = pmSourceExtendedParsAlloc ();
    88    }
    99
    1010    if (!source->extpars->profile) {
    11         source->extpars->profile = pmSourceRadialProfile ();
     11        source->extpars->profile = pmSourceRadialProfileAlloc ();
    1212    }   
    1313   
     
    1919    psVector *radius = source->extpars->profile->radius;
    2020    psVector *flux   = source->extpars->profile->flux;
    21     psVector *weight = source->extpars->profile->radius;
     21    psVector *weight = source->extpars->profile->weight;
    2222
    2323    // XXX use the extended source model here for Xo, Yo?
     
    4040    flux->n = n;
    4141
    42     SortVectorsByRadius (radius, flux, weight);
     42    // XXX need to sort here
     43    // SortVectorsByRadius (radius, flux, weight);
    4344
    4445    return true;
Note: See TracChangeset for help on using the changeset viewer.