IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 30, 2012, 1:54:56 PM (14 years ago)
Author:
mhuber
Message:

fix readoutFakeThread int->float outside of PS_SCALAR_VALUE to avoid being set 0.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/camera/pmReadoutFake.c

    r33089 r33624  
    210210    const pmPSF *psf = args->data[7];         // PSF
    211211    float minFlux = PS_SCALAR_VALUE(args->data[8], F32); // Minimum flux
    212     float radius = PS_SCALAR_VALUE(args->data[9], F32);  // Minimum radius
     212    float radius = PS_SCALAR_VALUE(args->data[9], S32);  // Minimum radius - typecast to float from S32 outside of PS_SCALAR_VALUE otherwise sets 0.0
    213213    bool circularise = PS_SCALAR_VALUE(args->data[10], U8); // Circularise PSF?
    214214    bool normalisePeak = PS_SCALAR_VALUE(args->data[11], U8); // Normalise for peak?
Note: See TracChangeset for help on using the changeset viewer.