Changeset 12712 for trunk/psastro/src/psastroLuminosityFunction.c
- Timestamp:
- Mar 31, 2007, 5:21:26 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psastro/src/psastroLuminosityFunction.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psastro/src/psastroLuminosityFunction.c
r11702 r12712 37 37 int nBin = 1 + (mMax - mMin) / dMag; 38 38 if (nBin <= 1) { 39 ps Error(PSASTRO_ERR_DATA, true, "magnitude range of 0.0\n");39 psLogMsg ("psastro", 4, "insufficient valid stars for this readout\n"); 40 40 return NULL; 41 41 } … … 92 92 93 93 if (!psVectorClipFitPolynomial1D(line, stats, mask, 0xff, lnMag, NULL, Mag)) { 94 ps Error(PS_ERR_UNKNOWN, false, "Failed thefit the luminosity function\n");94 psLogMsg ("psastro", 4, "Failed to fit the luminosity function\n"); 95 95 return(NULL); 96 96 }
Note:
See TracChangeset
for help on using the changeset viewer.
