IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 18, 2011, 2:11:57 PM (15 years ago)
Author:
eugene
Message:

change due to pmPeak element changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20110213/pswarp/src/pswarpTransformSources.c

    r29000 r30977  
    9494        // relative flux) that's OK.
    9595        pmSource *new = pmSourceAlloc(); ///< New source
    96         new->peak = pmPeakAlloc(xOut, yOut, source->peak->flux, PM_PEAK_LONE);
    97         new->peak->flux = source->peak->flux;
     96        new->peak = pmPeakAlloc(xOut, yOut, source->peak->detValue, PM_PEAK_LONE);
     97        new->peak->rawFlux = source->peak->rawFlux;
     98        new->peak->smoothFlux = source->peak->smoothFlux;
    9899        new->type = source->type;
    99100        new->mode = source->mode;
Note: See TracChangeset for help on using the changeset viewer.