comparison base/RangeMapper.cpp @ 686:b4a8d8221eaf debug-output

Remove most toStdString calls (no longer needed, with debug header)
author Chris Cannam
date Thu, 12 May 2011 17:31:24 +0100
parents bdc9bb371a9f
children 06f13a3b9e9e
comparison
equal deleted inserted replaced
685:99222d4bfc78 686:b4a8d8221eaf
74 convertMinMax(minpos, maxpos, minval, maxval, m_minlog, m_ratio); 74 convertMinMax(minpos, maxpos, minval, maxval, m_minlog, m_ratio);
75 75
76 std::cerr << "LogRangeMapper: minpos " << minpos << ", maxpos " 76 std::cerr << "LogRangeMapper: minpos " << minpos << ", maxpos "
77 << maxpos << ", minval " << minval << ", maxval " 77 << maxpos << ", minval " << minval << ", maxval "
78 << maxval << ", minlog " << m_minlog << ", ratio " << m_ratio 78 << maxval << ", minlog " << m_minlog << ", ratio " << m_ratio
79 << ", unit " << unit.toStdString() << std::endl; 79 << ", unit " << unit << std::endl;
80 80
81 assert(m_maxpos != m_minpos); 81 assert(m_maxpos != m_minpos);
82 82
83 m_maxlog = (m_maxpos - m_minpos) / m_ratio + m_minlog; 83 m_maxlog = (m_maxpos - m_minpos) / m_ratio + m_minlog;
84 } 84 }