Changeset 23989 for trunk/psastro/src/psastroModelAnalysis.c
- Timestamp:
- Apr 28, 2009, 11:21:56 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/psastro/src/psastroModelAnalysis.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psastro/src/psastroModelAnalysis.c
r21409 r23989 153 153 154 154 psStats *stats = psStatsAlloc (PS_STAT_SAMPLE_MEDIAN | PS_STAT_SAMPLE_STDEV); 155 psVectorStats (stats, posZero, NULL, NULL, 0); 155 if (!psVectorStats (stats, posZero, NULL, NULL, 0)) { 156 psError(PS_ERR_UNKNOWN, false, "failure to measure stats"); 157 return false; 158 } 156 159 157 160 fprintf (outfile, "# pos zero %f +/- %f\n", stats->sampleMedian, stats->sampleStdev);
Note:
See TracChangeset
for help on using the changeset viewer.
