IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 31, 2007, 5:21:26 PM (19 years ago)
Author:
eugene
Message:

various low-level fixes

File:
1 edited

Legend:

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

    r11702 r12712  
    3737  int nBin = 1 + (mMax - mMin) / dMag;
    3838  if (nBin <= 1) {
    39     psError(PSASTRO_ERR_DATA, true, "magnitude range of 0.0\n");
     39    psLogMsg ("psastro", 4, "insufficient valid stars for this readout\n");
    4040    return NULL;
    4141  }
     
    9292
    9393  if (!psVectorClipFitPolynomial1D(line, stats, mask, 0xff, lnMag, NULL, Mag)) {
    94       psError(PS_ERR_UNKNOWN, false, "Failed the fit the luminosity function\n");
     94      psLogMsg ("psastro", 4, "Failed to fit the luminosity function\n");
    9595      return(NULL);
    9696  }
Note: See TracChangeset for help on using the changeset viewer.