[mlpack-git] master: Non-important spelling and style fixes. (869bb06)

gitdub at big.cc.gt.atl.ga.us gitdub at big.cc.gt.atl.ga.us
Thu Mar 5 22:17:03 EST 2015


Repository : https://github.com/mlpack/mlpack

On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/904762495c039e345beba14c1142fd719b3bd50e...f94823c800ad6f7266995c700b1b630d5ffdcf40

>---------------------------------------------------------------

commit 869bb06dcc13c0b3bb9b08dad96cf8a6a23a4a3d
Author: Ryan Curtin <ryan at ratml.org>
Date:   Tue Feb 24 11:18:36 2015 -0500

    Non-important spelling and style fixes.


>---------------------------------------------------------------

869bb06dcc13c0b3bb9b08dad96cf8a6a23a4a3d
 CMakeLists.txt                   |  2 +-
 src/mlpack/tests/mlpack_test.cpp | 23 +++++++++++++----------
 2 files changed, 14 insertions(+), 11 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 39b0137..c2ea247 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -15,7 +15,7 @@ option(DEBUG "Compile with debugging information" ON)
 option(PROFILE "Compile with profiling information" ON)
 option(ARMA_EXTRA_DEBUG "Compile with extra Armadillo debugging symbols." OFF)
 option(MATLAB_BINDINGS "Compile MATLAB bindings if MATLAB is found." OFF)
-option(TEST_VERBOSE "Running test cases with verbose ouput" OFF)
+option(TEST_VERBOSE "Run test cases with verbose output." OFF)
 
 # This is as of yet unused.
 #option(PGO "Use profile-guided optimization if not a debug build" ON)
diff --git a/src/mlpack/tests/mlpack_test.cpp b/src/mlpack/tests/mlpack_test.cpp
index 123b7f9..69ac454 100644
--- a/src/mlpack/tests/mlpack_test.cpp
+++ b/src/mlpack/tests/mlpack_test.cpp
@@ -27,20 +27,23 @@
  * method.
  *
  * By default, Log::objects should have their output redirected, otherwise
- * the UTF test output would be drown out by Log::Debug and Log::Warn messages.
+ * the UTF test output would be drowned out by Log::Debug and Log::Warn
+ * messages.
  *
- * For more detailed test output, set cmake flag TEST_VERBOSE=ON.
+ * For more detailed test output, set the CMake flag TEST_VERBOSE=ON.
  */
-struct GlobalFixture {
+struct GlobalFixture
+{
   GlobalFixture()
   {
-#ifndef TEST_VERBOSE
-#ifdef DEBUG
-    mlpack::Log::Debug.ignoreInput = true;
-#endif
-    mlpack::Log::Info.ignoreInput = true;
-    mlpack::Log::Warn.ignoreInput = true;
-#endif
+    #ifndef TEST_VERBOSE
+      #ifdef DEBUG
+        mlpack::Log::Debug.ignoreInput = true;
+      #endif
+
+      mlpack::Log::Info.ignoreInput = true;
+      mlpack::Log::Warn.ignoreInput = true;
+    #endif
   }
 };
 



More information about the mlpack-git mailing list