[cig-commits] r7615 - cs/Exchanger/trunk/lib

tan2 at geodynamics.org tan2 at geodynamics.org
Mon Jul 9 11:03:21 PDT 2007


Author: tan2
Date: 2007-07-09 11:03:21 -0700 (Mon, 09 Jul 2007)
New Revision: 7615

Modified:
   cs/Exchanger/trunk/lib/Array2D.cc
Log:
Removed the #ifdef DEBUG block in Array2D::print()

Modified: cs/Exchanger/trunk/lib/Array2D.cc
===================================================================
--- cs/Exchanger/trunk/lib/Array2D.cc	2007-07-09 16:53:39 UTC (rev 7614)
+++ cs/Exchanger/trunk/lib/Array2D.cc	2007-07-09 18:03:21 UTC (rev 7615)
@@ -354,7 +354,6 @@
     template <class T, int N>
     void Array2D<T,N>::print(const std::string& prefix) const
     {
-#ifdef DEBUG
 	journal::info_t info(prefix);
 	info << "  " << prefix << ":  addr = " << &a_;
 
@@ -364,7 +363,6 @@
 		info << a_[n*N + j] << "  ";
 	}
 	info << journal::newline << journal::endl;
-#endif
     }
 
 



More information about the cig-commits mailing list