a44421a79fb36cc2036fe116b97ea3bc9590cd0c braney Fri Dec 2 09:34:39 2011 -0800 removed rcsid (#295) diff --git src/lib/histogram.c src/lib/histogram.c index 2cc5eba..0da3f19 100644 --- src/lib/histogram.c +++ src/lib/histogram.c @@ -1,21 +1,20 @@ /* histogram function for data array in memory */ #include "common.h" #include "histogram.h" -static char const rcsid[] = "$Id: histogram.c,v 1.4 2004/09/14 23:43:58 hiram Exp $"; static unsigned autoScale(float *values, size_t N, float *binSize, unsigned *binCount, float *minValue, float *min, float *max) /* determine binSize, binCount, minValue for values[N] * If any of those are given, use them instead of calculating. * A given minValue means ignore data below that. * NAN's for binSize or minValue are the signals to not use them. * non-zero for binCount to use it. NOTE: binCount is actually one * too high to get the minimum and maximum values in the first and * last (binCount-1) bins correctly. */ { float minFound = INFINITY; float maxFound = -1.0 * INFINITY; float range = 0.0;