comparison base/RangeMapper.cpp @ 843:e802e550a1f2

Drop std:: from cout, cerr, endl -- pull these in through Debug.h
author Chris Cannam
date Tue, 26 Nov 2013 13:35:08 +0000
parents 1424aa29ae95
children eb6b6a88faed
comparison
equal deleted inserted replaced
842:23d3a6eca5c3 843:e802e550a1f2
71 m_unit(unit), 71 m_unit(unit),
72 m_inverted(inverted) 72 m_inverted(inverted)
73 { 73 {
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 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 << std::endl; 79 << ", unit " << unit << 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 }