Changeset 5617 for trunk/psphot/src/psphotOutput.c
- Timestamp:
- Nov 28, 2005, 10:35:43 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotOutput.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotOutput.c
r5350 r5617 348 348 349 349 // write the peaks to an output file 350 bool pmPeaksWriteText (psArray * sources, char *filename) {350 bool pmPeaksWriteText (psArray *peaks, char *filename) { 351 351 352 352 int i; 353 353 FILE *f; 354 pmPeak *peak;355 354 356 355 f = fopen (filename, "w"); … … 360 359 } 361 360 362 for (i = 0; i < sources->n; i++) {363 p eak = (pmPeak *) sources->data[i];361 for (i = 0; i < peaks->n; i++) { 362 pmPeak *peak = peaks->data[i]; 364 363 if (peak == NULL) continue; 365 364 fprintf (f, "%5d %5d %7.1f\n",
Note:
See TracChangeset
for help on using the changeset viewer.
