# HG changeset patch # User cannam # Date 1153945363 0 # Node ID 14839f9a616e705550af97a6a7ca439986de4ff0 # Parent 07ac3de1e53be2122e9eae141225f86e5a458dc5 * fix compile error with gcc-4.1 diff -r 07ac3de1e53b -r 14839f9a616e dsp/maths/Histogram.h --- 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& geTHistogram() const { return m_counters;}; //! return the computed histogram, in TOuts