Changeset 11702 for trunk/psastro/src/psastroLuminosityFunction.c
- Timestamp:
- Feb 7, 2007, 5:52:32 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psastro/src/psastroLuminosityFunction.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psastro/src/psastroLuminosityFunction.c
r11269 r11702 51 51 if (!isfinite(star->Mag)) continue; 52 52 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); 55 55 nMags->data.F32[bin] += 1.0; 56 56 }
Note:
See TracChangeset
for help on using the changeset viewer.
