Mercurial > hg > qm-dsp
changeset 229:0e42bf10f29a
* fix compile error with gcc-4.1
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Wed, 26 Jul 2006 20:22:43 +0000 |
parents | b7f01ab7045e |
children | bca1953e4cbb |
files | dsp/maths/Histogram.h |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
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