IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 13, 2014, 8:49:28 AM (12 years ago)
Author:
eugene
Message:

call model->class->function instead of model->function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppSim/src/ppSimInsertStars.c

    r36375 r36862  
    116116        // (inserting flux with a variable radius introduces a flux-dependent bias)
    117117        if (radius < 0) {
    118           radius = model->modelRadius (model->params, nSigmaLim * roughNoise);
     118          radius = model->class->modelRadius (model->params, nSigmaLim * roughNoise);
    119119          radius = PS_MAX (radius,  1.0);
    120120          radius = PS_MIN (radius, 50.0);
Note: See TracChangeset for help on using the changeset viewer.