diff data/model/PowerOfSqrtTwoZoomConstraint.cpp @ 687:06f13a3b9e9e debug-output

Convert many cerrs to DEBUGs
author Chris Cannam
date Mon, 16 May 2011 17:19:09 +0100
parents d7f3dfe6f9a4
children 1424aa29ae95
line wrap: on
line diff
--- a/data/model/PowerOfSqrtTwoZoomConstraint.cpp	Thu May 12 17:31:24 2011 +0100
+++ b/data/model/PowerOfSqrtTwoZoomConstraint.cpp	Mon May 16 17:19:09 2011 +0100
@@ -51,7 +51,7 @@
 	else if (dir == RoundDown) rval = size_t(prevVal + 0.01);
 	else if (val - blockSize < blockSize - prevVal) rval = size_t(val + 0.01);
 	else rval = size_t(prevVal + 0.01);
-//	std::cerr << "returning " << rval << std::endl;
+//	DEBUG << "returning " << rval << endl;
 	return rval;
     }
 
@@ -74,7 +74,7 @@
 		    << (power - minCachePower));
 	}
 
-//	std::cerr << "Testing base " << base << std::endl;
+//	DEBUG << "Testing base " << base << endl;
 
         if (base == blockSize) {
             result = base;