[mlpack] 87/149: Not sure how I missed this spelling error...

Barak A. Pearlmutter barak+git at pearlmutter.net
Sat May 2 09:11:12 UTC 2015


This is an automated email from the git hooks/post-receive script.

bap pushed a commit to branch svn-trunk
in repository mlpack.

commit 4d6dfd83bd8eaf3328b76ab74786ff2fc5ce8e7c
Author: rcurtin <rcurtin at 9d5b8971-822b-0410-80eb-d18c1038ef23>
Date:   Mon Nov 10 19:12:48 2014 +0000

    Not sure how I missed this spelling error...
    
    
    git-svn-id: http://svn.cc.gatech.edu/fastlab/mlpack/trunk@17315 9d5b8971-822b-0410-80eb-d18c1038ef23
---
 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);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/mlpack.git



More information about the debian-science-commits mailing list