[mlpack-svn] r13023 - mlpack/trunk/src/mlpack/tests

fastlab-svn at coffeetalk-1.cc.gatech.edu fastlab-svn at coffeetalk-1.cc.gatech.edu
Mon Jun 11 15:23:48 EDT 2012


Author: rcurtin
Date: 2012-06-11 15:23:47 -0400 (Mon, 11 Jun 2012)
New Revision: 13023

Modified:
   mlpack/trunk/src/mlpack/tests/lars_test.cpp
Log:
Clean up comments for no good reason.


Modified: mlpack/trunk/src/mlpack/tests/lars_test.cpp
===================================================================
--- mlpack/trunk/src/mlpack/tests/lars_test.cpp	2012-06-11 19:09:07 UTC (rev 13022)
+++ mlpack/trunk/src/mlpack/tests/lars_test.cpp	2012-06-11 19:23:47 UTC (rev 13023)
@@ -35,17 +35,17 @@
   {
     if (beta(j) == 0)
     {
-      // make sure that |errCorr(j)| <= lambda
+      // Make sure that |errCorr(j)| <= lambda.
       BOOST_REQUIRE_SMALL(std::max(fabs(errCorr(j)) - lambda, 0.0), tol);
     }
     else if (beta(j) < 0)
     {
-      // make sure that errCorr(j) == lambda
+      // Make sure that errCorr(j) == lambda.
       BOOST_REQUIRE_SMALL(errCorr(j) - lambda, tol);
     }
-    else
-    { // beta(j) > 0
-      // make sure that errCorr(j) == -lambda
+    else // beta(j) > 0
+    {
+      // Make sure that errCorr(j) == -lambda.
       BOOST_REQUIRE_SMALL(errCorr(j) + lambda, tol);
     }
   }




More information about the mlpack-svn mailing list