changeset 1393:04abe8f73b22

Remove commented-out code
author Chris Cannam
date Tue, 28 Feb 2017 11:26:24 +0000
parents 667e369cfeab
children 9ef1cc26024c
files base/LogRange.cpp
diffstat 1 files changed, 0 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/base/LogRange.cpp	Tue Feb 28 11:21:49 2017 +0000
+++ b/base/LogRange.cpp	Tue Feb 28 11:26:24 2017 +0000
@@ -27,8 +27,6 @@
     if (min > max) std::swap(min, max);
     if (max == min) max = min + 1;
 
-//    cerr << "LogRange::mapRange: min = " << min << ", max = " << max << endl;
-    
     if (min >= 0.0) {
 
         // and max > min, so we know min >= 0 and max > 0
@@ -38,8 +36,6 @@
         if (min == 0.0) min = std::min(logthresh, max);
         else min = log10(min);
 
-//        cerr << "LogRange::mapRange: positive: min = " << min << ", max = " << max << endl;
-
     } else if (max <= 0.0) {
 
         // and max > min, so we know min < 0 and max <= 0
@@ -50,8 +46,6 @@
         else max = log10(-max);
         
         std::swap(min, max);
-        
-//        cerr << "LogRange::mapRange: negative: min = " << min << ", max = " << max << endl;
 
     } else {
         
@@ -59,8 +53,6 @@
         
         max = log10(std::max(max, -min));
         min = std::min(logthresh, max);
-
-//        cerr << "LogRange::mapRange: spanning: min = " << min << ", max = " << max << endl;
     }
 
     if (min == max) min = max - 1;