IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 7, 2007, 5:52:32 PM (19 years ago)
Author:
jhoblitt
Message:

update psAbort() API

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psastro/src/psastroLuminosityFunction.c

    r11269 r11702  
    5151    if (!isfinite(star->Mag)) continue;
    5252    int bin = (star->Mag - mMin) / dMag;
    53     if (bin < 0) psAbort ("psastro", "bin cannot be negative!");
    54     if (bin >= nBin) psAbort ("psastro", "bin cannot be > %d!", nBin);
     53    if (bin < 0) psAbort("bin cannot be negative!");
     54    if (bin >= nBin) psAbort("bin cannot be > %d!", nBin);
    5555    nMags->data.F32[bin] += 1.0;
    5656  }
Note: See TracChangeset for help on using the changeset viewer.