IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 24, 2011, 9:22:53 AM (15 years ago)
Author:
eugene
Message:

better information on the radius assertion failure

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20110213/psModules/src/objects/models/pmModel_DEV.c

    r30974 r31031  
    322322    psF64 radius = axes.major * sqrt (2.0) * pow(zn, 0.5 / ALPHA);
    323323
    324     psAssert (isfinite(radius), "fix this code: z should not be nan");
     324    psAssert (isfinite(radius), "fix this code: radius should not be nan for Io = %f, flux = %f, major = %f (%f, %f, %f)",
     325              PAR[PM_PAR_I0], flux, axes.major, PAR[PM_PAR_SXX], PAR[PM_PAR_SXY], PAR[PM_PAR_SYY]);
     326
    325327    return (radius);
    326328}
Note: See TracChangeset for help on using the changeset viewer.