From 4ae07c24c121db3d9ece6dda5bdaaaae2ed49575 Mon Sep 17 00:00:00 2001 From: cignoni Date: Thu, 9 Jun 2005 14:19:55 +0000 Subject: [PATCH] Added typedef Histogramf and Histogramd --- vcg/math/histogram.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/vcg/math/histogram.h b/vcg/math/histogram.h index f3339d0a..163cfd0b 100644 --- a/vcg/math/histogram.h +++ b/vcg/math/histogram.h @@ -24,6 +24,10 @@ History $Log: not supported by cvs2svn $ +Revision 1.6 2005/06/07 09:37:33 ponchio +Added fabs() to variance, which can sometime be negative in case +of rounding errors (and sqrt chokes on it). + Revision 1.5 2005/06/07 07:44:08 cignoni Added Percentile and removed small bug in Add @@ -166,6 +170,8 @@ ScalarType Histogram::Percentile(ScalarType frac) const return R[i+1]; } +typedef Histogram Histogramd ; +typedef Histogram Histogramf ; }// end namespace #endif