Mercurial > hg > svcore
diff data/fft/FFTFileCacheReader.cpp @ 687:06f13a3b9e9e debug-output
Convert many cerrs to DEBUGs
author | Chris Cannam |
---|---|
date | Mon, 16 May 2011 17:19:09 +0100 |
parents | 8accc7969c1c |
children | 1424aa29ae95 |
line wrap: on
line diff
--- a/data/fft/FFTFileCacheReader.cpp Thu May 12 17:31:24 2011 +0100 +++ b/data/fft/FFTFileCacheReader.cpp Mon May 16 17:19:09 2011 +0100 @@ -157,7 +157,7 @@ void FFTFileCacheReader::getValuesAt(size_t x, size_t y, float &real, float &imag) const { -// std::cerr << "FFTFileCacheReader::getValuesAt(" << x << "," << y << ")" << std::endl; +// DEBUG << "FFTFileCacheReader::getValuesAt(" << x << "," << y << ")" << endl; switch (m_storageType) { @@ -216,7 +216,7 @@ { if (m_readbuf && m_readbufGood && (m_readbufCol == x || (m_readbufWidth > 1 && m_readbufCol+1 == x))) { -// std::cerr << "FFTFileCacheReader::haveSetColumnAt: short-circuiting; we know about this one" << std::endl; +// DEBUG << "FFTFileCacheReader::haveSetColumnAt: short-circuiting; we know about this one" << endl; return true; } return m_mfc->haveSetColumnAt(x); @@ -236,7 +236,7 @@ { Profiler profiler("FFTFileCacheReader::populateReadBuf", false); -// std::cerr << "FFTFileCacheReader::populateReadBuf(" << x << ")" << std::endl; +// DEBUG << "FFTFileCacheReader::populateReadBuf(" << x << ")" << endl; if (!m_readbuf) { m_readbuf = new char[m_mfc->getHeight() * 2 * m_mfc->getCellSize()];