[mlpack-git] master: Not sure how I missed this spelling error... (631955e)

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


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

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

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

commit 631955eb4c23b46fb0c573ab67d5151c4181baf6
Author: Ryan Curtin <ryan at ratml.org>
Date:   Mon Nov 10 19:12:48 2014 +0000

    Not sure how I missed this spelling error...


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

631955eb4c23b46fb0c573ab67d5151c4181baf6
 src/mlpack/tests/regularized_svd_test.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mlpack/tests/regularized_svd_test.cpp b/src/mlpack/tests/regularized_svd_test.cpp
index 7b03466..4248e4f 100644
--- a/src/mlpack/tests/regularized_svd_test.cpp
+++ b/src/mlpack/tests/regularized_svd_test.cpp
@@ -181,7 +181,7 @@ BOOST_AUTO_TEST_CASE(RegularizedSVDFunctionGradient)
       else
         BOOST_REQUIRE_CLOSE(numGradient1, gradient1(i, j), 1e-2);
 
-      if (graident2(i, j) == 0.0)
+      if (gradient2(i, j) == 0.0)
         BOOST_REQUIRE_SMALL(numGradient2, 1e-5);
       else
         BOOST_REQUIRE_CLOSE(numGradient2, gradient2(i, j), 1e-2);



More information about the mlpack-git mailing list