Mercurial > hg > qm-dsp
diff dsp/maths/Histogram.h @ 4:14839f9a616e
* fix compile error with gcc-4.1
author | cannam |
---|---|
date | Wed, 26 Jul 2006 20:22:43 +0000 |
parents | d7116e3183f8 |
children |
line wrap: on
line diff
--- a/dsp/maths/Histogram.h Mon May 15 15:07:27 2006 +0000 +++ b/dsp/maths/Histogram.h Wed Jul 26 20:22:43 2006 +0000 @@ -136,7 +136,10 @@ //! return number of containers unsigned int getSize() const { return m_counters.size();}; //! returns i-th counter - unsigned int operator [] (unsigned int i) const { ASSERT( i < m_counters.size() ); return m_counters[i];}; + unsigned int operator [] (unsigned int i) const { +// ASSERT( i < m_counters.size() ); + return m_counters[i]; + }; //! return the computed histogram const std::vector<unsigned int>& geTHistogram() const { return m_counters;}; //! return the computed histogram, in TOuts